public class StatefulHandlerFactory extends java.lang.Object implements ServerInterfaceHandlerFactory<Stateful,Stateful>
Modifier and Type | Class and Description |
---|---|
static class |
StatefulHandlerFactory.ClientFactory |
static class |
StatefulHandlerFactory.StateData |
Modifier and Type | Field and Description |
---|---|
static NotificationType<StatefulHandlerFactory.StateData> |
STATE_CHANGE_NOTIF_TYPE |
static HandlerVersion |
VERSION |
Constructor and Description |
---|
StatefulHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<Stateful> |
clientClass()
Provide the corresponding
ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(Stateful stateful,
ServerSideToolkit ojmb)
Create a handler that handles communication on behalf of the
MBean with the interface.
|
boolean |
equals(java.lang.Object obj) |
javax.management.MBeanAttributeInfo[] |
getMBeanAttributeInfo()
Get the MBeanAttributeInfo for the interface.
|
javax.management.MBeanNotificationInfo[] |
getMBeanNotificationInfo()
Get the MBeanNotificationInfo for the interface.
|
javax.management.MBeanOperationInfo[] |
getMBeanOperationInfo()
Get the MBeanOperationInfo for the interface.
|
int |
hashCode() |
java.lang.Class<Stateful> |
interfaceClass()
Provide the interface class this is the information
about.
|
public static final HandlerVersion VERSION
public static final NotificationType<StatefulHandlerFactory.StateData> STATE_CHANGE_NOTIF_TYPE
public java.lang.Class<Stateful> interfaceClass()
ServerInterfaceHandlerFactory
interfaceClass
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
public javax.management.MBeanAttributeInfo[] getMBeanAttributeInfo()
ServerInterfaceHandlerFactory
getMBeanAttributeInfo
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
public javax.management.MBeanOperationInfo[] getMBeanOperationInfo()
ServerInterfaceHandlerFactory
getMBeanOperationInfo
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
public javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandlerFactory
getMBeanNotificationInfo
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
public ServerInterfaceHandler createServerHandler(Stateful stateful, ServerSideToolkit ojmb)
ServerInterfaceHandlerFactory
createServerHandler
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
stateful
- The target object implementing the interface.ojmb
- The OddjobMBean.public java.lang.Class<Stateful> clientClass()
ServerInterfaceHandlerFactory
ClientInterfaceHandlerFactory
resolver.clientClass
in interface ServerInterfaceHandlerFactory<Stateful,Stateful>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object