org.jppf.server.node.spi
Class JPPFDefaultNodeMBeanProvider
java.lang.Object
org.jppf.server.node.spi.JPPFDefaultNodeMBeanProvider
- All Implemented Interfaces:
- JPPFMBeanProvider, JPPFNodeMBeanProvider
public class JPPFDefaultNodeMBeanProvider
- extends Object
- implements JPPFNodeMBeanProvider
Provider for the default JPPF node management and monitoring features.
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPPFDefaultNodeMBeanProvider
public JPPFDefaultNodeMBeanProvider()
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(MonitoredNode node)
- Return a concrete MBean.
The class of this MBean must implement the interface defined by getMBeanInterfaceName().
- Specified by:
createMBean in interface JPPFNodeMBeanProvider
- Parameters:
node - - the JPPF node that is managed or monitored by the MBean.
- 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.