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 |
---|---|
ClientHandlerResolver<T> |
clientHandlerFactory()
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.
|
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<S> |
interfaceClass()
Provide the interface class this is the information
about.
|
Class<S> interfaceClass()
MBeanAttributeInfo[] getMBeanAttributeInfo()
MBeanOperationInfo[] getMBeanOperationInfo()
MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandler createServerHandler(S target, ServerSideToolkit toolkit)
target
- The target object implementing the interface.toolkit
- The OddjobMBean.ClientHandlerResolver<T> clientHandlerFactory()
ClientInterfaceHandlerFactory
resolver.