|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.jmx.handlers.VanillaServerHandlerFactory<T>
public class VanillaServerHandlerFactory<T>
Factory that provides handlers for an interface where the invocation of methods on that interface are just straight to the JMX MBean.
Use this when there is no call backs, and no final properties of the target where performance might benefit from caching.
Constructor Summary | |
---|---|
VanillaServerHandlerFactory(Class<T> cl)
Constructor. |
Method Summary | |
---|---|
ClientHandlerResolver<T> |
clientHandlerFactory()
Provide the corresponding ClientInterfaceHandlerFactory
resolver. |
ServerInterfaceHandler |
createServerHandler(T 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<T> |
interfaceClass()
Provide the interface class this is the information about. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VanillaServerHandlerFactory(Class<T> cl)
cl
- The interface for which we wish to provide
handlers.Method Detail |
---|
public Class<T> interfaceClass()
ServerInterfaceHandlerFactory
interfaceClass
in interface ServerInterfaceHandlerFactory<T,T>
public MBeanAttributeInfo[] getMBeanAttributeInfo()
ServerInterfaceHandlerFactory
getMBeanAttributeInfo
in interface ServerInterfaceHandlerFactory<T,T>
public MBeanOperationInfo[] getMBeanOperationInfo()
ServerInterfaceHandlerFactory
getMBeanOperationInfo
in interface ServerInterfaceHandlerFactory<T,T>
public MBeanNotificationInfo[] getMBeanNotificationInfo()
ServerInterfaceHandlerFactory
getMBeanNotificationInfo
in interface ServerInterfaceHandlerFactory<T,T>
public ServerInterfaceHandler createServerHandler(T target, ServerSideToolkit ojmb)
ServerInterfaceHandlerFactory
createServerHandler
in interface ServerInterfaceHandlerFactory<T,T>
target
- The target object implementing the interface.ojmb
- The OddjobMBean.
public ClientHandlerResolver<T> clientHandlerFactory()
ServerInterfaceHandlerFactory
ClientInterfaceHandlerFactory
resolver.
clientHandlerFactory
in interface ServerInterfaceHandlerFactory<T,T>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |