public class VanillaServerHandlerFactory<T> extends Object implements ServerInterfaceHandlerFactory<T,T>
Use this when there is no call backs, and no final properties of the target where performance might benefit from caching.
| Constructor and Description |
|---|
VanillaServerHandlerFactory(Class<T> cl)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClientHandlerResolver<T> |
clientHandlerFactory()
Provide the corresponding
ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(T target,
ServerSideToolkit ojmb)
Create a handler that handles communication on behalf of the
MBean with the interface.
|
MBeanAttributeInfo[] |
getMBeanAttributeInfo()
Get the MBeanAttributeInfo for the interface.
|
MBeanNotificationInfo[] |
getMBeanNotificationInfo()
Get the MBeanNotificationInfo for the interface.
|
MBeanOperationInfo[] |
getMBeanOperationInfo()
Get the MBeanOperationInfo for the interface.
|
Class<T> |
interfaceClass()
Provide the interface class this is the information
about.
|
public Class<T> interfaceClass()
ServerInterfaceHandlerFactoryinterfaceClass in interface ServerInterfaceHandlerFactory<T,T>public MBeanAttributeInfo[] getMBeanAttributeInfo()
ServerInterfaceHandlerFactorygetMBeanAttributeInfo in interface ServerInterfaceHandlerFactory<T,T>public MBeanOperationInfo[] getMBeanOperationInfo()
ServerInterfaceHandlerFactorygetMBeanOperationInfo in interface ServerInterfaceHandlerFactory<T,T>public MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandlerFactorygetMBeanNotificationInfo in interface ServerInterfaceHandlerFactory<T,T>public ServerInterfaceHandler createServerHandler(T target, ServerSideToolkit ojmb)
ServerInterfaceHandlerFactorycreateServerHandler in interface ServerInterfaceHandlerFactory<T,T>target - The target object implementing the interface.ojmb - The OddjobMBean.public ClientHandlerResolver<T> clientHandlerFactory()
ServerInterfaceHandlerFactoryClientInterfaceHandlerFactory
resolver.clientHandlerFactory in interface ServerInterfaceHandlerFactory<T,T>