Package org.jppf.server.node.spi
Class JPPFDefaultNodeMBeanProvider
java.lang.Object
org.jppf.server.node.spi.JPPFDefaultNodeMBeanProvider
- All Implemented Interfaces:
org.jppf.management.spi.JPPFMBeanProvider,org.jppf.management.spi.JPPFNodeMBeanProvider
public class JPPFDefaultNodeMBeanProvider
extends Object
implements org.jppf.management.spi.JPPFNodeMBeanProvider
Provider for the default JPPF node management and monitoring features.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMBean(org.jppf.node.Node node) Return a concrete MBean.
The class of this MBean must implement the interface defined bygetMBeanInterfaceName().Return the fully qualified name of the management interface defined by this provider.Return the name of the specified MBean.
This is the name under which the MBean will be registered with the MBean server.
-
Constructor Details
-
JPPFDefaultNodeMBeanProvider
public JPPFDefaultNodeMBeanProvider()
-
-
Method Details
-
getMBeanInterfaceName
Return the fully qualified name of the management interface defined by this provider.- Specified by:
getMBeanInterfaceNamein interfaceorg.jppf.management.spi.JPPFMBeanProvider- Returns:
- the fully qualified interface name as a string.
-
createMBean
Return a concrete MBean.
The class of this MBean must implement the interface defined bygetMBeanInterfaceName().- Specified by:
createMBeanin interfaceorg.jppf.management.spi.JPPFNodeMBeanProvider- Parameters:
node- - the JPPF node that is managed or monitored by the MBean.- Returns:
- an
Objectthat is an implementation of the MBean interface.
-
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 forObjectName.- Specified by:
getMBeanNamein interfaceorg.jppf.management.spi.JPPFMBeanProvider- Returns:
- the MBean name for this MBean provider.
-