public class ExportableHandlerFactory extends java.lang.Object implements ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
Exportable
interface.
This is a special handler because Exportable is a fake client side interface.
Modifier and Type | Class and Description |
---|---|
static class |
ExportableHandlerFactory.ClientFactory |
Modifier and Type | Field and Description |
---|---|
static HandlerVersion |
VERSION |
Constructor and Description |
---|
ExportableHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<Exportable> |
clientClass()
Provide the corresponding
ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(java.lang.Object target,
ServerSideToolkit toolkit)
Create a handler that handles communication on behalf of the
MBean with the interface.
|
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.
|
java.lang.Class<java.lang.Object> |
interfaceClass()
Provide the interface class this is the information
about.
|
public static final HandlerVersion VERSION
public java.lang.Class<java.lang.Object> interfaceClass()
ServerInterfaceHandlerFactory
interfaceClass
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
public javax.management.MBeanAttributeInfo[] getMBeanAttributeInfo()
ServerInterfaceHandlerFactory
getMBeanAttributeInfo
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
public javax.management.MBeanOperationInfo[] getMBeanOperationInfo()
ServerInterfaceHandlerFactory
getMBeanOperationInfo
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
public javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandlerFactory
getMBeanNotificationInfo
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
public ServerInterfaceHandler createServerHandler(java.lang.Object target, ServerSideToolkit toolkit)
ServerInterfaceHandlerFactory
createServerHandler
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>
target
- The target object implementing the interface.toolkit
- The OddjobMBean.public java.lang.Class<Exportable> clientClass()
ServerInterfaceHandlerFactory
ClientInterfaceHandlerFactory
resolver.clientClass
in interface ServerInterfaceHandlerFactory<java.lang.Object,Exportable>