org.oddjob.jmx.client
Interface ClientInterfaceHandlerFactory<T>

Type Parameters:
T - The Type of the interface this will creating a handler for.
All Known Implementing Classes:
BeanDirectoryHandlerFactory.ClientBeanDirectoryHandlerFactory, ComponentOwnerHandlerFactory.ClientConfigurationOwnerHandlerFactory, DirectInvocationClientFactory, ExportableHandlerFactory, IconicHandlerFactory.ClientIconicHandlerFactory, LogEnabledHandlerFactory.ClientLogPollableHandlerFactory, LogPollableHandlerFactory.ClientLogPollableHandlerFactory, ObjectInterfaceHandlerFactory.ClientObjectHandlerFactory, StatefulHandlerFactory.ClientStatefulHandlerFactory, StructuralHandlerFactory.ClientStructuralHandlerFactory

public interface ClientInterfaceHandlerFactory<T>

Implementations are able to create a handler for the client side of method invocations.

Author:
Rob Gordon.

Method Summary
 T createClientHandler(T proxy, ClientSideToolkit toolkit)
          Create a thing that handles communication with the server for an Interface..
 HandlerVersion getVersion()
          The version of this handler.
 Class<T> interfaceClass()
          Provide the interface class this is the information about.
 

Method Detail

getVersion

HandlerVersion getVersion()
The version of this handler.

Returns:

interfaceClass

Class<T> interfaceClass()
Provide the interface class this is the information about.

Returns:
The class.

createClientHandler

T createClientHandler(T proxy,
                      ClientSideToolkit toolkit)
Create a thing that handles communication with the server for an Interface..

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.
clientToolkit - Tools to help the handler do it's job.
Returns:
An Handler object. Never null.