Package org.oddjob.jmx.handlers
Class ResettableHandlerFactory
java.lang.Object
org.oddjob.jmx.handlers.ResettableHandlerFactory
- All Implemented Interfaces:
ServerInterfaceHandlerFactory<Resettable,Resettable>
public class ResettableHandlerFactory
extends Object
implements ServerInterfaceHandlerFactory<Resettable,Resettable>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvide the client class.createServerHandler(Resettable target, ServerSideToolkit toolkit) Create a handler that handles communication on behalf of the MBean with the interface.booleanGet the version of this handler.Get the MBeanAttributeInfo for the interface.Get the MBeanOperationInfo for the interface.List<NotificationType<?>> Get the MBeanNotificationInfo for the interface.inthashCode()Provide the service side class this is the factory for.
-
Field Details
-
VERSION
-
-
Constructor Details
-
ResettableHandlerFactory
public ResettableHandlerFactory()
-
-
Method Details
-
serverClass
Description copied from interface:ServerInterfaceHandlerFactoryProvide the service side class this is the factory for.- Specified by:
serverClassin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- The class. Not null.
-
clientClass
Description copied from interface:ServerInterfaceHandlerFactoryProvide the client class. This is what the client proxy will implement. It will mainly be the same as the server class but sometimes there is extra functionality the client needs and these classes will provide that.- Specified by:
clientClassin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- The class. Not null.
-
getHandlerVersion
Description copied from interface:ServerInterfaceHandlerFactoryGet the version of this handler.- Specified by:
getHandlerVersionin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- The version. Not null.
-
getMBeanAttributeInfo
Description copied from interface:ServerInterfaceHandlerFactoryGet the MBeanAttributeInfo for the interface.- Specified by:
getMBeanAttributeInfoin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- An MBeanAttributeInfo array.
-
getMBeanOperationInfo
Description copied from interface:ServerInterfaceHandlerFactoryGet the MBeanOperationInfo for the interface.- Specified by:
getMBeanOperationInfoin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- An MBeanOperationInfo array.
-
getNotificationTypes
Description copied from interface:ServerInterfaceHandlerFactoryGet the MBeanNotificationInfo for the interface.- Specified by:
getNotificationTypesin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Returns:
- An MBeanNotificationInfo array.
-
createServerHandler
Description copied from interface:ServerInterfaceHandlerFactoryCreate a handler that handles communication on behalf of the MBean with the interface.- Specified by:
createServerHandlerin interfaceServerInterfaceHandlerFactory<Resettable,Resettable> - Parameters:
target- The target object implementing the interface.toolkit- The OddjobMBean.- Returns:
- An InterfaceHandler.
-
equals
-
hashCode
public int hashCode()
-