S
- The class of the interface (or Object) being exposed remotely.T
- The class of thing that will provide the signature of
the handler.public interface ServerInterfaceHandlerFactory<S,T>
Modifier and Type | Method and Description |
---|---|
java.lang.Class<T> |
clientClass()
Provide the corresponding
ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(S 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<S> |
interfaceClass()
Provide the interface class this is the information
about.
|
java.lang.Class<S> interfaceClass()
javax.management.MBeanAttributeInfo[] getMBeanAttributeInfo()
javax.management.MBeanOperationInfo[] getMBeanOperationInfo()
javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandler createServerHandler(S target, ServerSideToolkit toolkit)
target
- The target object implementing the interface.toolkit
- The OddjobMBean.java.lang.Class<T> clientClass()
ClientInterfaceHandlerFactory
resolver.