public class ResetableHandlerFactory extends Object implements ServerInterfaceHandlerFactory<Resetable,Resetable>
Modifier and Type | Field and Description |
---|---|
static HandlerVersion |
VERSION |
Constructor and Description |
---|
ResetableHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
ClientHandlerResolver<Resetable> |
clientHandlerFactory()
Provide the corresponding
ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(Resetable 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<Resetable> |
interfaceClass()
Provide the interface class this is the information
about.
|
public static final HandlerVersion VERSION
public Class<Resetable> interfaceClass()
ServerInterfaceHandlerFactory
interfaceClass
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>
public MBeanAttributeInfo[] getMBeanAttributeInfo()
ServerInterfaceHandlerFactory
getMBeanAttributeInfo
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>
public MBeanOperationInfo[] getMBeanOperationInfo()
ServerInterfaceHandlerFactory
getMBeanOperationInfo
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>
public MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandlerFactory
getMBeanNotificationInfo
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>
public ServerInterfaceHandler createServerHandler(Resetable target, ServerSideToolkit ojmb)
ServerInterfaceHandlerFactory
createServerHandler
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>
target
- The target object implementing the interface.ojmb
- The OddjobMBean.public ClientHandlerResolver<Resetable> clientHandlerFactory()
ServerInterfaceHandlerFactory
ClientInterfaceHandlerFactory
resolver.clientHandlerFactory
in interface ServerInterfaceHandlerFactory<Resetable,Resetable>