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