T
- public class DirectInvocationClientFactory<T> extends java.lang.Object implements ClientInterfaceHandlerFactory<T>
ClientInterfaceHandlerFactory
that creates a client handler
that passes all method invocations straight to the MBean.Constructor and Description |
---|
DirectInvocationClientFactory(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
createClientHandler(T ignored,
ClientSideToolkit toolkit)
Create a thing that handles communication
with the server for an Interface..
|
HandlerVersion |
getVersion()
The version of this handler.
|
java.lang.Class<T> |
interfaceClass()
Provide the interface class this is the information
about.
|
java.lang.String |
toString() |
public DirectInvocationClientFactory(java.lang.Class<T> type)
public HandlerVersion getVersion()
ClientInterfaceHandlerFactory
getVersion
in interface ClientInterfaceHandlerFactory<T>
public T createClientHandler(T ignored, ClientSideToolkit toolkit)
ClientInterfaceHandlerFactory
createClientHandler
in interface ClientInterfaceHandlerFactory<T>
ignored
- 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.toolkit
- Tools to help the handler do it's job.public java.lang.Class<T> interfaceClass()
ClientInterfaceHandlerFactory
interfaceClass
in interface ClientInterfaceHandlerFactory<T>
public java.lang.String toString()
toString
in class java.lang.Object