org.oddjob.jmx.handlers
Class ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory

java.lang.Object
  extended by org.oddjob.jmx.handlers.ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory
All Implemented Interfaces:
ClientInterfaceHandlerFactory<Object>
Enclosing class:
ObjectInterfaceHandlerFactory

public static class ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory
extends Object
implements ClientInterfaceHandlerFactory<Object>


Constructor Summary
ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory()
           
 
Method Summary
 Object createClientHandler(Object proxy, ClientSideToolkit toolkit)
          Create a thing that handles communication with the server for an Interface..
 HandlerVersion getVersion()
          The version of this handler.
 Class<Object> interfaceClass()
          Provide the interface class this is the information about.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory

public ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory()
Method Detail

interfaceClass

public Class<Object> interfaceClass()
Description copied from interface: ClientInterfaceHandlerFactory
Provide the interface class this is the information about.

Specified by:
interfaceClass in interface ClientInterfaceHandlerFactory<Object>
Returns:
The class.

getVersion

public HandlerVersion getVersion()
Description copied from interface: ClientInterfaceHandlerFactory
The version of this handler.

Specified by:
getVersion in interface ClientInterfaceHandlerFactory<Object>
Returns:

createClientHandler

public Object createClientHandler(Object proxy,
                                  ClientSideToolkit toolkit)
Description copied from interface: ClientInterfaceHandlerFactory
Create a thing that handles communication with the server for an Interface..

Specified by:
createClientHandler in interface ClientInterfaceHandlerFactory<Object>
Parameters:
proxy - The client side proxy the invocations are coming from. Most of the time this will be ignored but it's useful as the source for events.
Returns:
An Handler object. Never null.