Package org.jppf.management
Class JMXMPServer
java.lang.Object
org.jppf.management.AbstractJMXServer
org.jppf.management.JMXMPServer
- All Implemented Interfaces:
JMXServer
Wrapper around the JMXMP remote connector server implementation.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.jppf.management.AbstractJMXServer
config, connectorServer, forwarder, lock, managementHost, managementPort, mbeanServer, ssl, stopped, uuid -
Constructor Summary
ConstructorsConstructorDescriptionJMXMPServer(TypedProperties config, String id, boolean ssl, JPPFProperty<Integer> portProperty) Initialize this JMX server with the specified uuid.JMXMPServer(TypedProperties config, String id, boolean ssl, JPPFProperty<Integer> portProperty, MBeanServer mbeanServer) Initialize this JMX server with the specified uuid. -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectvoidstart(ClassLoader cl) Start the MBean server and associated resources.Methods inherited from class org.jppf.management.AbstractJMXServer
getConnectorServer, getEnvironment, getManagementHost, getManagementPort, getMBeanServer, getMBeanServerForwarder, getUuid, isStopped, startConnectorServer, stop
-
Constructor Details
-
JMXMPServer
public JMXMPServer(TypedProperties config, String id, boolean ssl, JPPFProperty<Integer> portProperty, MBeanServer mbeanServer) Initialize this JMX server with the specified uuid.- Parameters:
config- the configuration to use.id- the unique id of the driver or node holding this jmx server.ssl- specifies whether JMX should be used over an SSL/TLS connection.portProperty- an ordered set of configuration properties to use for looking up the desired management port.mbeanServer- the mbean server to use.
-
JMXMPServer
public JMXMPServer(TypedProperties config, String id, boolean ssl, JPPFProperty<Integer> portProperty) Initialize this JMX server with the specified uuid.- Parameters:
config- the configuration to use.id- the unique id of the driver or node holding this jmx server.ssl- specifies whether JMX should be used over an SSL/TLS connection.portProperty- an ordered set of configuration properties to use for looking up the desired management port.
-
-
Method Details
-
start
Description copied from interface:JMXServerStart the MBean server and associated resources.- Parameters:
cl- - the default classloader to be used by the JMX remote connector.- Throws:
Exception- if an error occurs when starting the server or one of its components.
-
newObjectWrapping
- Returns:
- a new instance of an implementation of
ObjectWrapping. - Throws:
Exception- if any eror occurs.
-