Package org.jppf.jmx
Class JMXHelper
java.lang.Object
org.jppf.jmx.JMXHelper
- Author:
- Laurent Cohen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteIdentifier for the methodMBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object).static final byteIdentifier for the methodMBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object).static final byteIdentifier for a connection close request.static final byteIdentifier for the initial handshake of a connection.static final byteIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName).static final byteIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName).static final byteIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]).static final byteIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, Object[], String[]).static final intThe maximum number of notifications in a JMX connection queue.static final byteIdentifier for the methodMBeanServerConnection.getAttribute(ObjectName, String).static final byteIdentifier for the methodMBeanServerConnection.getAttributes(ObjectName, String[]).static final byteIdentifier for the methodMBeanServerConnection.getDefaultDomain().static final byteIdentifier for the methodMBeanServerConnection.getDomains().static final byteIdentifier for the methodMBeanServerConnection.getMBeanCount().static final byteIdentifier for the methodMBeanServerConnection.getMBeanInfo(ObjectName).static final byteIdentifier for the methodMBeanServerConnection.getObjectInstance(ObjectName).static final byteIdentifier for the methodMBeanServerConnection.invoke(ObjectName, String, Object[], String[]).static final byteIdentifier for the methodMBeanServerConnection.isInstanceOf(ObjectName, String).static final byteIdentifier for the methodMBeanServerConnection.isRegistered(ObjectName).static final StringThe JMXMP protocol string.static final StringThe JPPF JMX remote protocol string.static final StringThe protocol string for local connections.static final byteIdentifier for a notification.static final byteIdentifier for the methodMBeanServerConnection.queryMBeans(ObjectName, QueryExp).static final byteIdentifier for the methodMBeanServerConnection.queryNames(ObjectName, QueryExp).static final byteIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, NotificationListener).static final bytestatic final byteIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, ObjectName).static final byteIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object).static final byteIdentifier for the methodMBeanServerConnection.setAttribute(ObjectName, Attribute).static final byteIdentifier for the methodMBeanServerConnection.setAttributes(ObjectName, AttributeList).static final StringWhether the JMX connector is standalone, that is, not within a driver.static final byteIdentifier for the methodMBeanServerConnection.unregisterMBean(ObjectName). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JMXMP_PROTOCOL
The JMXMP protocol string.- See Also:
-
JPPF_JMX_PROTOCOL
The JPPF JMX remote protocol string.- See Also:
-
LOCAL_PROTOCOL
The protocol string for local connections.- See Also:
-
STANDALONE_CONNECTOR_KEY
Whether the JMX connector is standalone, that is, not within a driver.- See Also:
-
DEFAULT_MAX_NOTIFICATIONS_QUEUE_SIZE
public static final int DEFAULT_MAX_NOTIFICATIONS_QUEUE_SIZEThe maximum number of notifications in a JMX connection queue.- See Also:
-
CONNECT
public static final byte CONNECTIdentifier for the initial handshake of a connection.- See Also:
-
CLOSE
public static final byte CLOSEIdentifier for a connection close request. A close request does not expect a response.- See Also:
-
ADD_NOTIFICATION_LISTENER
public static final byte ADD_NOTIFICATION_LISTENERIdentifier for the methodMBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object).- See Also:
-
ADD_NOTIFICATION_LISTENER_OBJECTNAME
public static final byte ADD_NOTIFICATION_LISTENER_OBJECTNAMEIdentifier for the methodMBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object).- See Also:
-
CREATE_MBEAN
public static final byte CREATE_MBEANIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName).- See Also:
-
CREATE_MBEAN_PARAMS
public static final byte CREATE_MBEAN_PARAMSIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, Object[], String[]).- See Also:
-
CREATE_MBEAN_LOADER
public static final byte CREATE_MBEAN_LOADERIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName).- See Also:
-
CREATE_MBEAN_LOADER_PARAMS
public static final byte CREATE_MBEAN_LOADER_PARAMSIdentifier for the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]).- See Also:
-
GET_ATTRIBUTE
public static final byte GET_ATTRIBUTEIdentifier for the methodMBeanServerConnection.getAttribute(ObjectName, String).- See Also:
-
GET_ATTRIBUTES
public static final byte GET_ATTRIBUTESIdentifier for the methodMBeanServerConnection.getAttributes(ObjectName, String[]).- See Also:
-
GET_DEFAULT_DOMAIN
public static final byte GET_DEFAULT_DOMAINIdentifier for the methodMBeanServerConnection.getDefaultDomain().- See Also:
-
GET_DOMAINS
public static final byte GET_DOMAINSIdentifier for the methodMBeanServerConnection.getDomains().- See Also:
-
GET_MBEAN_COUNT
public static final byte GET_MBEAN_COUNTIdentifier for the methodMBeanServerConnection.getMBeanCount().- See Also:
-
GET_MBEAN_INFO
public static final byte GET_MBEAN_INFOIdentifier for the methodMBeanServerConnection.getMBeanInfo(ObjectName).- See Also:
-
GET_OBJECT_INSTANCE
public static final byte GET_OBJECT_INSTANCEIdentifier for the methodMBeanServerConnection.getObjectInstance(ObjectName).- See Also:
-
INVOKE
public static final byte INVOKEIdentifier for the methodMBeanServerConnection.invoke(ObjectName, String, Object[], String[]).- See Also:
-
IS_INSTANCE_OF
public static final byte IS_INSTANCE_OFIdentifier for the methodMBeanServerConnection.isInstanceOf(ObjectName, String).- See Also:
-
IS_REGISTERED
public static final byte IS_REGISTEREDIdentifier for the methodMBeanServerConnection.isRegistered(ObjectName).- See Also:
-
QUERY_MBEANS
public static final byte QUERY_MBEANSIdentifier for the methodMBeanServerConnection.queryMBeans(ObjectName, QueryExp).- See Also:
-
QUERY_NAMES
public static final byte QUERY_NAMESIdentifier for the methodMBeanServerConnection.queryNames(ObjectName, QueryExp).- See Also:
-
REMOVE_NOTIFICATION_LISTENER
public static final byte REMOVE_NOTIFICATION_LISTENERIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, NotificationListener).- See Also:
-
REMOVE_NOTIFICATION_LISTENER_FILTER_HANDBACK
public static final byte REMOVE_NOTIFICATION_LISTENER_FILTER_HANDBACKIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object).- See Also:
-
REMOVE_NOTIFICATION_LISTENER_OBJECTNAME
public static final byte REMOVE_NOTIFICATION_LISTENER_OBJECTNAMEIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, ObjectName).- See Also:
-
REMOVE_NOTIFICATION_LISTENER_OBJECTNAME_FILTER_HANDBACK
public static final byte REMOVE_NOTIFICATION_LISTENER_OBJECTNAME_FILTER_HANDBACKIdentifier for the methodMBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object).- See Also:
-
SET_ATTRIBUTE
public static final byte SET_ATTRIBUTEIdentifier for the methodMBeanServerConnection.setAttribute(ObjectName, Attribute).- See Also:
-
SET_ATTRIBUTES
public static final byte SET_ATTRIBUTESIdentifier for the methodMBeanServerConnection.setAttributes(ObjectName, AttributeList).- See Also:
-
UNREGISTER_MBEAN
public static final byte UNREGISTER_MBEANIdentifier for the methodMBeanServerConnection.unregisterMBean(ObjectName).- See Also:
-
NOTIFICATION
public static final byte NOTIFICATIONIdentifier for a notification.- See Also:
-
-
Constructor Details
-
JMXHelper
public JMXHelper()
-
-
Method Details
-
remoteProtocols
- Returns:
- an array of all available remote protocols.
-
name
Get a name corresponding to a message type.- Parameters:
type- the type of the message for which to get a name.- Returns:
- a readable message name.
-