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