org.oddjob.jmx.handlers
Class IconicHandlerFactory

java.lang.Object
  extended by org.oddjob.jmx.handlers.IconicHandlerFactory
All Implemented Interfaces:
ServerInterfaceHandlerFactory<Iconic,Iconic>

public class IconicHandlerFactory
extends Object
implements ServerInterfaceHandlerFactory<Iconic,Iconic>

A MBean which wraps an object providing an Oddjob management interface to the object.


Nested Class Summary
static class IconicHandlerFactory.ClientIconicHandlerFactory
           
static class IconicHandlerFactory.IconData
           
 
Field Summary
static String ICON_CHANGED_NOTIF_TYPE
           
static HandlerVersion VERSION
           
 
Constructor Summary
IconicHandlerFactory()
           
 
Method Summary
 ClientHandlerResolver<Iconic> clientHandlerFactory()
          Provide the corresponding ClientInterfaceHandlerFactory resolver.
 ServerInterfaceHandler createServerHandler(Iconic iconic, 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<Iconic> 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
 

Field Detail

VERSION

public static final HandlerVersion VERSION

ICON_CHANGED_NOTIF_TYPE

public static final String ICON_CHANGED_NOTIF_TYPE
See Also:
Constant Field Values
Constructor Detail

IconicHandlerFactory

public IconicHandlerFactory()
Method Detail

interfaceClass

public Class<Iconic> interfaceClass()
Description copied from interface: ServerInterfaceHandlerFactory
Provide the interface class this is the information about.

Specified by:
interfaceClass in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Returns:
The class.

getMBeanAttributeInfo

public MBeanAttributeInfo[] getMBeanAttributeInfo()
Description copied from interface: ServerInterfaceHandlerFactory
Get the MBeanAttributeInfo for the interface.

Specified by:
getMBeanAttributeInfo in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Returns:
An MBeanAttributeInfo array.

getMBeanOperationInfo

public MBeanOperationInfo[] getMBeanOperationInfo()
Description copied from interface: ServerInterfaceHandlerFactory
Get the MBeanOperationInfo for the interface.

Specified by:
getMBeanOperationInfo in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Returns:
An MBeanOperationInfo array.

getMBeanNotificationInfo

public MBeanNotificationInfo[] getMBeanNotificationInfo()
Description copied from interface: ServerInterfaceHandlerFactory
Get the MBeanNotificationInfo for the interface.

Specified by:
getMBeanNotificationInfo in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Returns:
An MBeanNotificationInfo array.

createServerHandler

public ServerInterfaceHandler createServerHandler(Iconic iconic,
                                                  ServerSideToolkit ojmb)
Description copied from interface: ServerInterfaceHandlerFactory
Create a handler that handles communication on behalf of the MBean with the interface.

Specified by:
createServerHandler in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Parameters:
iconic - The target object implementing the interface.
ojmb - The OddjobMBean.
Returns:
An InterfaceHandler.

clientHandlerFactory

public ClientHandlerResolver<Iconic> clientHandlerFactory()
Description copied from interface: ServerInterfaceHandlerFactory
Provide the corresponding ClientInterfaceHandlerFactory resolver.

Specified by:
clientHandlerFactory in interface ServerInterfaceHandlerFactory<Iconic,Iconic>
Returns:
The resolver.