org.oddjob.jmx.handlers
Class ExportableHandlerFactory
java.lang.Object
org.oddjob.jmx.handlers.ExportableHandlerFactory
- All Implemented Interfaces:
- ClientInterfaceHandlerFactory<Exportable>
public class ExportableHandlerFactory
- extends Object
- implements ClientInterfaceHandlerFactory<Exportable>
Provide Handlers for the Exportable
interface.
This is a special handler because Exportable is a
fake client side interface.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final HandlerVersion VERSION
ExportableHandlerFactory
public ExportableHandlerFactory()
interfaceClass
public Class<Exportable> interfaceClass()
- Description copied from interface:
ClientInterfaceHandlerFactory
- Provide the interface class this is the information
about.
- Specified by:
interfaceClass
in interface ClientInterfaceHandlerFactory<Exportable>
- Returns:
- The class.
getVersion
public HandlerVersion getVersion()
- Description copied from interface:
ClientInterfaceHandlerFactory
- The version of this handler.
- Specified by:
getVersion
in interface ClientInterfaceHandlerFactory<Exportable>
- Returns:
createClientHandler
public Exportable createClientHandler(Exportable 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<Exportable>
- 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.