Package org.jppf.server.node.spi
Class JPPFNodeTaskMonitorProvider
java.lang.Object
org.jppf.server.node.spi.JPPFNodeTaskMonitorProvider
- All Implemented Interfaces:
org.jppf.management.spi.JPPFMBeanProvider,org.jppf.management.spi.JPPFNodeMBeanProvider
public class JPPFNodeTaskMonitorProvider
extends Object
implements org.jppf.management.spi.JPPFNodeMBeanProvider
SPI Provider implementation for task-level monitoring MBean.
- 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
-
JPPFNodeTaskMonitorProvider
public JPPFNodeTaskMonitorProvider()
-
-
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.
-