- ClientUtils - Class in com.j256.simplejmx.client
-
Utility methods used whenever we are processing JMX client information.
- ClientUtils() - Constructor for class com.j256.simplejmx.client.ClientUtils
-
- close() - Method in class com.j256.simplejmx.client.CommandLineJmxClient
-
Close the associated Jmx client.
- close() - Method in class com.j256.simplejmx.client.JmxClient
-
Close the client connection to the mbean server.If you want a method that throws then use
JmxClient.closeThrow()
.
- close() - Method in class com.j256.simplejmx.server.JmxServer
-
- close() - Method in class com.j256.simplejmx.web.JmxWebServer
-
- closeQuietly(Closeable) - Static method in class com.j256.simplejmx.common.IoUtils
-
Close a closeable and hide any exceptions.
- closeThrow() - Method in class com.j256.simplejmx.client.JmxClient
-
Close the client connection to the mbean server.
- com.j256.simplejmx.client - package com.j256.simplejmx.client
-
Client code with programmable and command-line access.
- com.j256.simplejmx.common - package com.j256.simplejmx.common
-
Common classes for both client and server sides.
- com.j256.simplejmx.server - package com.j256.simplejmx.server
-
Server code.
- com.j256.simplejmx.spring - package com.j256.simplejmx.spring
-
Optional classes to be used with Spring.
- com.j256.simplejmx.web - package com.j256.simplejmx.web
-
Support for HTTP connections to JMX content.
- CommandLineJmxClient - Class in com.j256.simplejmx.client
-
Command-line client that can be used to support interactive or batch-file JMX operations.
- CommandLineJmxClient(JmxClient) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Create a command line interface on the passed in client.
- CommandLineJmxClient(int) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Create a command line interface connected to the local host at a certain port number.
- CommandLineJmxClient(String, int) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Create a command line interface connected to a host and port combination.
- CommandLineJmxClient(InetAddress, int) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Connect the client to an address and port combination.
- CommandLineJmxClient(String) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Create a command line interface connected to a JMX server using the full JMX URL format.
- generalJmxUrlForHostNamePort(String, int) - Static method in class com.j256.simplejmx.client.JmxClient
-
Returns a JMX/RMI URL for a host-name and port.
- getAction() - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
- getActionValue() - Method in enum com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Return the associated MBeanOperationInfo int constant.
- getAttribute(String, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return the value of a JMX attribute.
- getAttribute(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return the value of a JMX attribute.
- getAttribute(String) - Method in class com.j256.simplejmx.server.ReflectionMbean
-
- getAttributeFieldInfos() - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- getAttributeFieldInfos() - Method in class com.j256.simplejmx.spring.JmxBean
-
- getAttributeInfo(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return information for a particular attribute name.
- getAttributeMethodInfos() - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- getAttributeMethodInfos() - Method in class com.j256.simplejmx.spring.JmxBean
-
- getAttributes(ObjectName, String[]) - Method in class com.j256.simplejmx.client.JmxClient
-
Get multiple attributes at once from the server.
- getAttributes(String, String, String[]) - Method in class com.j256.simplejmx.client.JmxClient
-
Get multiple attributes at once from the server.
- getAttributes(String[]) - Method in class com.j256.simplejmx.server.ReflectionMbean
-
- getAttributesInfo(String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the attributes associated with the bean name.
- getAttributesInfo(ObjectName) - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the attributes associated with the bean name.
- getAttributeString(String, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return the value of a JMX attribute as a String.
- getAttributeString(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return the value of a JMX attribute as a String or null if attribute has a null value.
- getBeanDomains() - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the bean's domain names.
- getBeanNames() - Method in class com.j256.simplejmx.client.JmxClient
-
Return a set of the various bean ObjectName objects associated with the Jmx server.
- getBeanNames(String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return a set of the various bean ObjectName objects associated with the Jmx server.
- getDescription() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- getDescription() - Method in class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- getDescription() - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
- getField() - Method in class com.j256.simplejmx.common.JmxFolderName
-
- getFieldName() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- getJmxBeanName() - Method in class com.j256.simplejmx.common.BaseJmxSelfNaming
-
- getJmxBeanName() - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
- getJmxBeanName() - Method in interface com.j256.simplejmx.common.JmxSelfNaming
-
Return the name of the object that will be the "name=..." part of the associated
ObjectName
.
- getJmxDescription() - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
- getJmxDomainName() - Method in class com.j256.simplejmx.common.BaseJmxSelfNaming
-
- getJmxDomainName() - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
- getJmxDomainName() - Method in interface com.j256.simplejmx.common.JmxSelfNaming
-
Return the domain name of the object that is used to built the associated
ObjectName
.
- getJmxFolderNames() - Method in class com.j256.simplejmx.common.BaseJmxSelfNaming
-
- getJmxFolderNames() - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
- getJmxFolderNames() - Method in interface com.j256.simplejmx.common.JmxSelfNaming
-
Return the appropriate array of folder names used to built the associated
ObjectName
.
- getJmxResourceInfo() - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- getJmxResourceInfo() - Method in class com.j256.simplejmx.spring.JmxBean
-
- getMBeanInfo() - Method in class com.j256.simplejmx.server.ReflectionMbean
-
- getMethodName() - Method in class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- getMethodName() - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
- getOperationInfo(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the operations associated with the bean name.
- getOperationInfos() - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- getOperationInfos() - Method in class com.j256.simplejmx.spring.JmxBean
-
- getOperationsInfo(String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the operations associated with the bean name.
- getOperationsInfo(ObjectName) - Method in class com.j256.simplejmx.client.JmxClient
-
Return an array of the operations associated with the bean name.
- getParameterDescriptions() - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
- getParameterNames() - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
- getRegisteredCount() - Method in class com.j256.simplejmx.server.JmxServer
-
Number of registered objects.
- getRegistryPort() - Method in class com.j256.simplejmx.server.JmxServer
-
- getServerPort() - Method in class com.j256.simplejmx.server.JmxServer
-
- getTarget() - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- getTarget() - Method in class com.j256.simplejmx.spring.JmxBean
-
- getValue() - Method in class com.j256.simplejmx.common.JmxFolderName
-
- JmxAttributeField - Annotation Type in com.j256.simplejmx.common
-
This identifies which fields you want to expose via JMX via reflection.
- JmxAttributeFieldInfo - Class in com.j256.simplejmx.common
-
This is used programmatically to identify a field that you want to expose via JMX.
- JmxAttributeFieldInfo() - Constructor for class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- JmxAttributeFieldInfo(String) - Constructor for class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- JmxAttributeFieldInfo(String, boolean, boolean, String) - Constructor for class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- JmxAttributeFieldInfo(String, JmxAttributeField) - Constructor for class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- JmxAttributeMethod - Annotation Type in com.j256.simplejmx.common
-
This identifies which getter and setter methods you want exposed via JMX.
- JmxAttributeMethodInfo - Class in com.j256.simplejmx.common
-
This is used programmatically to identify a get..., is..., or set...
- JmxAttributeMethodInfo() - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- JmxAttributeMethodInfo(String) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- JmxAttributeMethodInfo(String, String) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- JmxAttributeMethodInfo(String, JmxAttributeMethod) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
- JmxBean - Class in com.j256.simplejmx.spring
-
- JmxBean() - Constructor for class com.j256.simplejmx.spring.JmxBean
-
- JmxBean(JmxResourceInfo, Object) - Constructor for class com.j256.simplejmx.spring.JmxBean
-
- JmxClient - Class in com.j256.simplejmx.client
-
JMX client connection implementation which connects to a JMX server and gets JMX information, gets/sets attributes,
and invokes operations.
- JmxClient(String) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a JMX server using the full JMX URL format.
- JmxClient(String, String, String) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a JMX server using the full JMX URL format with username/password credentials.
- JmxClient(String, String, String, Map<String, Object>) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a JMX server using the full JMX URL format with username/password credentials.
- JmxClient(int) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to the local host at a certain port number.
- JmxClient(String, int) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a host and port combination.
- JmxClient(String, int, String, String) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a host and port combination and a username and password.
- JmxClient(String, int, Map<String, Object>) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a host and port combination.
- JmxClient(InetAddress, int) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to an address and port combination.
- JmxClient(String, Map<String, Object>) - Constructor for class com.j256.simplejmx.client.JmxClient
-
- JmxFolderName - Class in com.j256.simplejmx.common
-
Wrapper around a folder-name that turns into the "field=value" parts of the object-name.
- JmxFolderName(String) - Constructor for class com.j256.simplejmx.common.JmxFolderName
-
Create a folder-name that turns into "00=value" in the
ObjectName
.
- JmxFolderName(String, String) - Constructor for class com.j256.simplejmx.common.JmxFolderName
-
Create a folder-name that turns into "field=value" in the
ObjectName
.
- JmxOperation - Annotation Type in com.j256.simplejmx.common
-
This identifies which methods are operations.
- JmxOperationInfo - Class in com.j256.simplejmx.common
-
This identifies a method that is _not_ named "get...", "is...", or "set..." to be a JMX operation.
- JmxOperationInfo() - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
-
- JmxOperationInfo(String) - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
-
- JmxOperationInfo(String, String[], String[], JmxOperationInfo.OperationAction, String) - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
-
- JmxOperationInfo(String, JmxOperation) - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
-
- JmxOperationInfo.OperationAction - Enum in com.j256.simplejmx.common
-
- JmxResource - Annotation Type in com.j256.simplejmx.common
-
This is used to identify an object which is going to be exported using JMX.
- JmxResourceInfo - Class in com.j256.simplejmx.common
-
This is used programmatically to register another class for JMX exposure.
- JmxResourceInfo() - Constructor for class com.j256.simplejmx.common.JmxResourceInfo
-
- JmxResourceInfo(String, String, JmxFolderName[], String) - Constructor for class com.j256.simplejmx.common.JmxResourceInfo
-
- JmxResourceInfo(String, String, String[], String) - Constructor for class com.j256.simplejmx.common.JmxResourceInfo
-
- JmxResourceInfo(String, String, String) - Constructor for class com.j256.simplejmx.common.JmxResourceInfo
-
- JmxSelfNaming - Interface in com.j256.simplejmx.common
-
This allows objects to name themselves based on fields or values internal to the _instance_ of the class.
- JmxServer - Class in com.j256.simplejmx.server
-
JMX server which allows classes to publish and un-publish themselves as JMX beans.
- JmxServer() - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server that will be set with the port using setters.
- JmxServer(int) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular registry-port.
- JmxServer(InetAddress, int) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular address and registry-port.
- JmxServer(int, int) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular registry and server port pair.
- JmxServer(InetAddress, int, int) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular registry and server port pair.
- JmxServer(MBeanServer) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JmxServer that uses an existing MBeanServer.
- JmxServer(boolean) - Constructor for class com.j256.simplejmx.server.JmxServer
-
If you pass in true, this will create a JmxServer that uses the existing JVM platform's MBeanServer.
- JmxUsernamePasswordAuthenticator - Class in com.j256.simplejmx.server
-
Username/password authenticator.
- JmxUsernamePasswordAuthenticator() - Constructor for class com.j256.simplejmx.server.JmxUsernamePasswordAuthenticator
-
- JmxWebHandler - Class in com.j256.simplejmx.web
-
Simple web handler that displays JMX information for a HTTP request.
- JmxWebHandler() - Constructor for class com.j256.simplejmx.web.JmxWebHandler
-
- JmxWebServer - Class in com.j256.simplejmx.web
-
Simple web-server which exposes JMX beans via HTTP.
- JmxWebServer() - Constructor for class com.j256.simplejmx.web.JmxWebServer
-
- JmxWebServer(InetAddress, int) - Constructor for class com.j256.simplejmx.web.JmxWebServer
-
- JmxWebServer(int) - Constructor for class com.j256.simplejmx.web.JmxWebServer
-
- setAction(JmxOperationInfo.OperationAction) - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
Not required.
- setApplicationContext(ApplicationContext) - Method in class com.j256.simplejmx.spring.BeanPublisher
-
- setAttribute(String, String, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- setAttribute(ObjectName, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- setAttribute(String, String, String, Object) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- setAttribute(ObjectName, String, Object) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value.
- setAttribute(Attribute) - Method in class com.j256.simplejmx.server.ReflectionMbean
-
- setAttributeFieldInfos(JmxAttributeFieldInfo[]) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines the fields to be exposed as attribute via JMX.
- setAttributeFieldNames(String) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines a comma separated list of field names.
- setAttributeMethodInfos(JmxAttributeMethodInfo[]) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines the methods (get/is/set...) to be exposed as attributes via JMX.
- setAttributeMethodNames(String) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines a comma separated list of field names.
- setAttributes(ObjectName, List<Attribute>) - Method in class com.j256.simplejmx.client.JmxClient
-
Set a multiple attributes at once on the server.
- setAttributes(String, String, List<Attribute>) - Method in class com.j256.simplejmx.client.JmxClient
-
Set a multiple attributes at once on the server.
- setAttributes(AttributeList) - Method in class com.j256.simplejmx.server.ReflectionMbean
-
- setAuthMap(Map<String, String>) - Method in class com.j256.simplejmx.server.JmxUsernamePasswordAuthenticator
-
- setDelegate(Object) - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
- setDescription(String) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
Not required.
- setDescription(String) - Method in class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
Not required.
- setDescription(String) - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
Not required.
- setFieldName(String) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
Required.
- setInetAddress(InetAddress) - Method in class com.j256.simplejmx.server.JmxServer
-
Not required.
- setJmxBeanName(String) - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
NotRequired name of the object.
- setJmxDescription(String) - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
Description of the class for jconsole.
- setJmxDomainName(String) - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
Required domain name which is the top-level folder in jconsole.
- setJmxFolderNames(JmxFolderName[]) - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
NotRequired array of folders where the bean will live.
- setJmxFolderNameStrings(String[]) - Method in class com.j256.simplejmx.common.JmxResourceInfo
-
NotRequired array of folders where the bean will live.
- setJmxResourceInfo(JmxResourceInfo) - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
Required resource information to provide domain and name information for the bean.
- setJmxResourceInfo(JmxResourceInfo) - Method in class com.j256.simplejmx.spring.JmxBean
-
Required resource information which helps to make the ObjectName for the bean that we are exposing via JMX.
- setJmxServer(JmxServer) - Method in class com.j256.simplejmx.spring.BeanPublisher
-
- setMaxNumThreads(int) - Method in class com.j256.simplejmx.web.JmxWebServer
-
Ignored.
- setMethodName(String) - Method in class com.j256.simplejmx.common.JmxAttributeMethodInfo
-
Required.
- setMethodName(String) - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
Required.
- setMinNumThreads(int) - Method in class com.j256.simplejmx.web.JmxWebServer
-
Ignored.
- setName(String) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
- setOperationInfos(JmxOperationInfo[]) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines the additional methods (not get/is/set...) to be exposed as operations via JMX.
- setOperationNames(String) - Method in class com.j256.simplejmx.spring.JmxBean
-
Optional setting which defines a comma separated list of field names.
- setParameterDescriptions(String[]) - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
Not required.
- setParameterNames(String[]) - Method in class com.j256.simplejmx.common.JmxOperationInfo
-
Not required.
- setPort(int) - Method in class com.j256.simplejmx.server.JmxServer
-
- setReadible(boolean) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
Not required.
- setRegistryPort(int) - Method in class com.j256.simplejmx.server.JmxServer
-
Set our port number to listen for JMX connections.
- setServerAddress(InetAddress) - Method in class com.j256.simplejmx.web.JmxWebServer
-
Optional address that the Jetty web server will be running on.
- setServerPort(int) - Method in class com.j256.simplejmx.server.JmxServer
-
- setServerPort(int) - Method in class com.j256.simplejmx.web.JmxWebServer
-
Required port that the Jetty web server will be running on.
- setServerSocketFactory(RMIServerSocketFactory) - Method in class com.j256.simplejmx.server.JmxServer
-
Optional server socket factory that can will be used to generate our registry and server ports.
- setServiceUrl(String) - Method in class com.j256.simplejmx.server.JmxServer
-
Optional service URL which is used to specify the connection endpoints.
- setTarget(Object) - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
Required bean that we are wrapping.
- setTarget(Object) - Method in class com.j256.simplejmx.spring.JmxBean
-
Required target object which specifies the Spring bean that we are exposing via JMX.
- setUsePlatformMBeanServer(boolean) - Method in class com.j256.simplejmx.server.JmxServer
-
Set this to true (default is false) to have the JmxServer use the MBean server defined by the JVM as opposed to
making one itself.
- setWritable(boolean) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
Not required.
- start() - Method in class com.j256.simplejmx.server.JmxServer
-
Start our JMX service.
- start() - Method in class com.j256.simplejmx.web.JmxWebServer
-
Start the internal Jetty web server and configure the
JmxWebHandler
to handle the requests.
- stop() - Method in class com.j256.simplejmx.server.JmxServer
-
- stop() - Method in class com.j256.simplejmx.web.JmxWebServer
-
Stop the internal web server and associated classes.
- stopThrow() - Method in class com.j256.simplejmx.server.JmxServer
-
Stop the JMX server by closing the connector and unpublishing it from the RMI registry.
- stringToParam(String, String) - Static method in class com.j256.simplejmx.client.ClientUtils
-
Convert a string to an object based on the type string.