org.oddjob.jmx.handlers
Class StatefulHandlerFactory.ClientStatefulHandlerFactory

java.lang.Object
  extended by org.oddjob.jmx.handlers.StatefulHandlerFactory.ClientStatefulHandlerFactory
All Implemented Interfaces:
ClientInterfaceHandlerFactory<Stateful>
Enclosing class:
StatefulHandlerFactory

public static class StatefulHandlerFactory.ClientStatefulHandlerFactory
extends Object
implements ClientInterfaceHandlerFactory<Stateful>


Constructor Summary
StatefulHandlerFactory.ClientStatefulHandlerFactory()
           
 
Method Summary
 Stateful createClientHandler(Stateful proxy, ClientSideToolkit toolkit)
          Create a thing that handles communication with the server for an Interface..
 HandlerVersion getVersion()
          The version of this handler.
 Class<Stateful> 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

StatefulHandlerFactory.ClientStatefulHandlerFactory

public StatefulHandlerFactory.ClientStatefulHandlerFactory()
Method Detail

interfaceClass

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

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

getVersion

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

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

createClientHandler

public Stateful createClientHandler(Stateful 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<Stateful>
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.