org.jppf.server.spi
Class JPPFDefaultDriverMBeanProvider

java.lang.Object
  extended by org.jppf.server.spi.JPPFDefaultDriverMBeanProvider
All Implemented Interfaces:
JPPFDriverMBeanProvider, JPPFMBeanProvider

public class JPPFDefaultDriverMBeanProvider
extends Object
implements JPPFDriverMBeanProvider

Provider for the default JPPF driver management and monitoring features.

Author:
Laurent Cohen

Constructor Summary
JPPFDefaultDriverMBeanProvider()
           
 
Method Summary
 Object createMBean()
          Return a concrete MBean.
 String getMBeanInterfaceName()
          Return the fully qualified name of the management interface defined by this provider.
 String getMBeanName()
          Return the name of the specified MBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFDefaultDriverMBeanProvider

public JPPFDefaultDriverMBeanProvider()
Method Detail

getMBeanInterfaceName

public String getMBeanInterfaceName()
Return the fully qualified name of the management interface defined by this provider.

Specified by:
getMBeanInterfaceName in interface JPPFMBeanProvider
Returns:
the fully qualified interface name as a string.
See Also:
JPPFMBeanProvider.getMBeanInterfaceName()

createMBean

public Object createMBean()
Return a concrete MBean.
The class of this MBean must implement the interface defined by getMBeanInterfaceName().

Specified by:
createMBean in interface JPPFDriverMBeanProvider
Returns:
an Object that is an implementation of the MBean interface.
See Also:
JPPFNodeMBeanProvider.createMBean(org.jppf.node.MonitoredNode)

getMBeanName

public String getMBeanName()
Return the name of the specified MBean.
This is the name under which the MBean will be registered with the MBean server. It must be a valid object name, as specified in the documentation for ObjectName.

Specified by:
getMBeanName in interface JPPFMBeanProvider
Returns:
the MBean name for this MBean provider.
See Also:
JPPFMBeanProvider.getMBeanName()


Copyright © 2005-2010 JPPF Team.