Index
All Classes and Interfaces|All Packages
A
- ACTION - Enum constant in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Indicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration.
- ACTION_INFO - Enum constant in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Indicates that the operation is both read-like and write-like.
- afterPropertiesSet() - Method in class com.j256.simplejmx.spring.BeanPublisher
- authenticate(Object) - Method in class com.j256.simplejmx.server.JmxUsernamePasswordAuthenticator
B
- BaseJmxSelfNaming - Class in com.j256.simplejmx.common
-
Base class which has default implementations of all of the
JmxSelfNamingmethods. - BaseJmxSelfNaming() - Constructor for class com.j256.simplejmx.common.BaseJmxSelfNaming
- beanName() - Element in annotation interface com.j256.simplejmx.common.JmxResource
-
Name of the JMX bean in the jconsole folder it is in.
- BeanPublisher - Class in com.j256.simplejmx.spring
-
Utility class designed to be used with Spring which runs through and discovers any beans that need to be registered with the
JmxServer. - BeanPublisher() - Constructor for class com.j256.simplejmx.spring.BeanPublisher
- BeanPublisher(ApplicationContext, JmxServer) - Constructor for class com.j256.simplejmx.spring.BeanPublisher
C
- 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.JmxJetty9WebServer
- 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(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(JmxClient) - Constructor for class com.j256.simplejmx.client.CommandLineJmxClient
-
Create a command line interface on the passed in client.
- 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.
- 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.
D
- description() - Element in annotation interface com.j256.simplejmx.common.JmxAttributeField
-
Description of the attribute for jconsole.
- description() - Element in annotation interface com.j256.simplejmx.common.JmxAttributeMethod
-
Description of the attribute for jconsole.
- description() - Element in annotation interface com.j256.simplejmx.common.JmxOperation
-
Description of the attribute for jconsole.
- description() - Element in annotation interface com.j256.simplejmx.common.JmxResource
-
Description of the class for jconsole.
- destroy() - Method in class com.j256.simplejmx.spring.BeanPublisher
- displayType(String, Object) - Static method in class com.j256.simplejmx.client.ClientUtils
-
Display type string from class name string.
- domainName() - Element in annotation interface com.j256.simplejmx.common.JmxResource
-
Domain name of the object which turns into the top-level folder inside of jconsole.
F
- folderNames() - Element in annotation interface com.j256.simplejmx.common.JmxResource
-
Optional array of strings which translate into sub-folders below the domain-name that was specified above.
G
- 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 class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Return the associated MBeanOperationInfo int constant.
- getAttribute(String) - Method in class com.j256.simplejmx.server.ReflectionMbean
- 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.
- 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(String[]) - Method in class com.j256.simplejmx.server.ReflectionMbean
- getAttributes(String, String, String[]) - Method in class com.j256.simplejmx.client.JmxClient
-
Get multiple attributes at once from the server.
- getAttributes(ObjectName, String[]) - Method in class com.j256.simplejmx.client.JmxClient
-
Get multiple attributes at once from the server.
- 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
- getRequestPathInfo() - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- getRequestPathInfo() - Method in interface com.j256.simplejmx.web.JmxWebPublisher
-
Return the request path-info.
- getRequestQueryParameter(String) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- getRequestQueryParameter(String) - Method in interface com.j256.simplejmx.web.JmxWebPublisher
-
Return the request query parameter by name.
- 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
H
- handle(JmxWebPublisher, Writer, String) - Method in class com.j256.simplejmx.web.JmxWebHandler
-
Handles a web request and displays information.
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
I
- INFO - Enum constant in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Indicates that the operation is read-like, it basically returns information.
- invoke(String, Object[], String[]) - Method in class com.j256.simplejmx.server.ReflectionMbean
- invokeOperation(String, String, String, Object...) - Method in class com.j256.simplejmx.client.JmxClient
-
Invoke a JMX method as an array of objects.
- invokeOperation(String, String, String, String...) - Method in class com.j256.simplejmx.client.JmxClient
-
Invoke a JMX method with a domain/object-name as an array of parameter strings.
- invokeOperation(ObjectName, String, Object...) - Method in class com.j256.simplejmx.client.JmxClient
-
Invoke a JMX method as an array of objects.
- invokeOperation(ObjectName, String, String...) - Method in class com.j256.simplejmx.client.JmxClient
-
Invoke a JMX method as an array of parameter strings.
- invokeOperationToString(ObjectName, String, String...) - Method in class com.j256.simplejmx.client.JmxClient
-
Invoke a JMX method as an array of parameter strings.
- IoUtils - Class in com.j256.simplejmx.common
-
Some simple IO utils.
- IoUtils() - Constructor for class com.j256.simplejmx.common.IoUtils
- isReadible() - Element in annotation interface com.j256.simplejmx.common.JmxAttributeField
-
Set to false if the field should not be read through JMX.
- isReadible() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
- isWritable() - Element in annotation interface com.j256.simplejmx.common.JmxAttributeField
-
Set to true if the field can be written by JMX.
- isWritable() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
J
- Jetty9JmxWebHandler - Class in com.j256.simplejmx.web
-
Jetty 9 web handler that implements the
JmxWebPublisherfunctions to allow theJmxWebHandlerto display web simple JMX web pages. - Jetty9JmxWebHandler() - Constructor for class com.j256.simplejmx.web.Jetty9JmxWebHandler
- Jetty9JmxWebHandler(JmxWebHandler, String) - Constructor for class com.j256.simplejmx.web.Jetty9JmxWebHandler
- JmxAttributeField - Annotation Interface 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 Interface 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... method that you want to expose via JMX.
- JmxAttributeMethodInfo() - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
- JmxAttributeMethodInfo(String) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
- JmxAttributeMethodInfo(String, JmxAttributeMethod) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
- JmxAttributeMethodInfo(String, String) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
- JmxBean - Class in com.j256.simplejmx.spring
-
With this bean, which is auto-detect by the
BeanPublisher, you can configure in Spring a JMX bean for an object that does not use theJmxResourceannotation orJmxSelfNaminginterface. - 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(int) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to the local host at a certain port number.
- 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, 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) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a host and port combination.
- 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) - 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, Map) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to a JMX server using the full JMX URL format an environment-map passed into
JMXConnectorFactory.connect(JMXServiceURL, Map). - JmxClient(InetAddress, int) - Constructor for class com.j256.simplejmx.client.JmxClient
-
Connect the client to an address and port combination.
- 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. - JmxJetty9WebServer - Class in com.j256.simplejmx.web
-
Simple web-server which exposes JMX beans via HTTP.
- JmxJetty9WebServer() - Constructor for class com.j256.simplejmx.web.JmxJetty9WebServer
- JmxJetty9WebServer(int) - Constructor for class com.j256.simplejmx.web.JmxJetty9WebServer
- JmxJetty9WebServer(InetAddress, int) - Constructor for class com.j256.simplejmx.web.JmxJetty9WebServer
- JmxOperation - Annotation Interface 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, JmxOperation) - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
- JmxOperationInfo(String, String[], String[], JmxOperationInfo.OperationAction, String) - Constructor for class com.j256.simplejmx.common.JmxOperationInfo
- JmxOperationInfo.OperationAction - Enum Class in com.j256.simplejmx.common
-
An enumerated version of the constants from
MBeanOperationInfo. - JmxResource - Annotation Interface 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) - Constructor for class com.j256.simplejmx.common.JmxResourceInfo
- JmxResourceInfo(String, 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(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.
- JmxServer(int) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular 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) - Constructor for class com.j256.simplejmx.server.JmxServer
-
Create a JMX server running on a particular address and registry-port.
- 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.
- 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
- JmxWebPublisher - Interface in com.j256.simplejmx.web
-
Definition of functionality needed by the webserver (jetty or otherwise) to display JMX information as a web page.
M
- main(String[]) - Static method in class com.j256.simplejmx.client.Main
-
Standard main method that can be called from the command line.
- Main - Class in com.j256.simplejmx.client
-
Sample main class which starts our JMX client.
- Main() - Constructor for class com.j256.simplejmx.client.Main
- makeObjectName(JmxResource, JmxSelfNaming) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a jmx-resource and a self naming object.
- makeObjectName(JmxResource, Object) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a jmx-resource and a object which is not self-naming.
- makeObjectName(JmxSelfNaming) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a self naming object only.
- makeObjectName(Object) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from an object that is detected either having the
JmxResourceannotation or implementingJmxSelfNaming. - makeObjectName(String) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a string suitable to be passed to the
ObjectNameconstructor. - makeObjectName(String, String) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a domain-name and object-name.
- makeObjectName(String, String, String[]) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
-
Constructs an object-name from a domain-name, object-name, and folder-name strings.
O
- ObjectNameUtil - Class in com.j256.simplejmx.common
-
Utility class that creates
ObjectNameobjects from various arguments. - operationAction() - Element in annotation interface com.j256.simplejmx.common.JmxOperation
-
This optional is used by the JMX system to describe what sort of work is being done in this operation.
P
- parameterDescriptions() - Element in annotation interface com.j256.simplejmx.common.JmxOperation
-
Optional array of strings which describes each of the method parameters.
- parameterNames() - Element in annotation interface com.j256.simplejmx.common.JmxOperation
-
Optional array of strings which gives the name of each of the method parameters.
- PublishAllBeanWrapper - Class in com.j256.simplejmx.server
-
Wraps another bean exposing all public methods as operations and get/set/is methods as attributes.
- PublishAllBeanWrapper() - Constructor for class com.j256.simplejmx.server.PublishAllBeanWrapper
- PublishAllBeanWrapper(Object, JmxResourceInfo) - Constructor for class com.j256.simplejmx.server.PublishAllBeanWrapper
R
- ReflectionMbean - Class in com.j256.simplejmx.server
-
This wraps an object that has been registered in the server using
JmxServer.register(Object). - ReflectionMbean(PublishAllBeanWrapper) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
-
Create a mbean associated with a wrapped object that exposes all public fields and methods.
- ReflectionMbean(Object, String) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
-
Create a mbean associated with a target object that must have a
JmxResourceannotation. - ReflectionMbean(Object, String, JmxAttributeFieldInfo[], JmxAttributeMethodInfo[], JmxOperationInfo[], boolean) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
-
Create a mbean associated with a target object with user provided attribute and operation information.
- register(PublishAllBeanWrapper) - Method in class com.j256.simplejmx.server.JmxServer
-
Register the object parameter for exposure with JMX that is wrapped using the PublishAllBeanWrapper.
- register(Object) - Method in class com.j256.simplejmx.server.JmxServer
-
Register the object parameter for exposure with JMX.
- register(Object, JmxResourceInfo, JmxAttributeFieldInfo[], JmxAttributeMethodInfo[], JmxOperationInfo[]) - Method in class com.j256.simplejmx.server.JmxServer
-
Register the object parameter for exposure with JMX with user defined field-attribute, method-attribute, and operation information.
- register(Object, ObjectName, JmxAttributeFieldInfo[], JmxAttributeMethodInfo[], JmxOperationInfo[]) - Method in class com.j256.simplejmx.server.JmxServer
-
Register the object parameter for exposure with JMX with user defined field-attribute, method-attribute, and operation information.
- register(Object, ObjectName, String, JmxAttributeFieldInfo[], JmxAttributeMethodInfo[], JmxOperationInfo[]) - Method in class com.j256.simplejmx.server.JmxServer
-
Register the object parameter for exposure with JMX with user defined field-attribute, method-attribute, and operation information.
- runBatchFile(File) - Method in class com.j256.simplejmx.client.CommandLineJmxClient
-
Read in commands from the batch-file and execute them.
- runCommandLine() - Method in class com.j256.simplejmx.client.CommandLineJmxClient
-
Run the Jmx command line client reading commands from
System.in. - runCommands(String[]) - Method in class com.j256.simplejmx.client.CommandLineJmxClient
-
Run commands from the String array.
S
- sendResponseRedirect(String) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- sendResponseRedirect(String) - Method in interface com.j256.simplejmx.web.JmxWebPublisher
-
Send a redirect to a new url.
- 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, Object) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- setAttribute(String, String, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- setAttribute(Attribute) - Method in class com.j256.simplejmx.server.ReflectionMbean
- setAttribute(ObjectName, String, Object) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value.
- setAttribute(ObjectName, String, String) - Method in class com.j256.simplejmx.client.JmxClient
-
Set the JMX attribute to a particular value string.
- 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(String, String, List) - 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
- setAttributes(ObjectName, List) - Method in class com.j256.simplejmx.client.JmxClient
-
Set a multiple attributes at once on the server.
- setAuthMap(Map) - Method in class com.j256.simplejmx.server.JmxUsernamePasswordAuthenticator
- setDelegate(Object) - Method in class com.j256.simplejmx.server.PublishAllBeanWrapper
-
Deprecated.
- 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.JmxJetty9WebServer
-
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.JmxJetty9WebServer
-
Ignored.
- setName(String) - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
-
Deprecated.Should use
JmxAttributeFieldInfo.setFieldName(String). - 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.
- setPathPrefix(String) - Method in class com.j256.simplejmx.web.JmxJetty9WebServer
-
Prefix to all of the jmx web requests.
- setPort(int) - Method in class com.j256.simplejmx.server.JmxServer
-
This is actually calls
JmxServer.setRegistryPort(int). - 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.
- setResponseContentType(String) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- setResponseContentType(String) - Method in interface com.j256.simplejmx.web.JmxWebPublisher
-
Set the response content type.
- setResponseStatusCode(int) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- setResponseStatusCode(int) - Method in interface com.j256.simplejmx.web.JmxWebPublisher
-
Set the response status code.
- setServerAddress(InetAddress) - Method in class com.j256.simplejmx.web.JmxJetty9WebServer
-
Optional address that the Jetty web server will be running on.
- setServerPort(int) - Method in class com.j256.simplejmx.server.JmxServer
-
Chances are you should be using
JmxServer.setPort(int)orJmxServer.setRegistryPort(int)unless you know what you are doing. - setServerPort(int) - Method in class com.j256.simplejmx.web.JmxJetty9WebServer
-
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.
- setWebHandler(JmxWebHandler) - Method in class com.j256.simplejmx.web.Jetty9JmxWebHandler
- 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.JmxJetty9WebServer
-
Start the internal Jetty web server and configure the
JmxWebHandlerto handle the requests. - stop() - Method in class com.j256.simplejmx.server.JmxServer
-
Same as
JmxServer.stopThrow()but this ignores any exceptions. - stop() - Method in class com.j256.simplejmx.web.JmxJetty9WebServer
-
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.
T
- toString() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
- toString() - Method in class com.j256.simplejmx.common.JmxAttributeMethodInfo
- toString() - Method in class com.j256.simplejmx.common.JmxOperationInfo
U
- UNKNOWN - Enum constant in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Indicates that the operation has an "unknown" nature.
- unregister(Object) - Method in class com.j256.simplejmx.server.JmxServer
-
Same as
JmxServer.unregisterThrow(Object)except this ignores exceptions. - unregister(ObjectName) - Method in class com.j256.simplejmx.server.JmxServer
-
Same as
JmxServer.unregisterThrow(ObjectName)except this ignores exceptions. - unregisterThrow(Object) - Method in class com.j256.simplejmx.server.JmxServer
-
Un-register the object parameter from JMX but this throws exceptions.
- unregisterThrow(ObjectName) - Method in class com.j256.simplejmx.server.JmxServer
-
Un-register the object name from JMX but this throws exceptions.
V
- valueOf(String) - Static method in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.j256.simplejmx.common.JmxOperationInfo.OperationAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueToParam(String, String) - Static method in class com.j256.simplejmx.client.ClientUtils
-
Convert a value string to an object based on the type string.
- valueToString(Object) - Static method in class com.j256.simplejmx.client.ClientUtils
-
Return the string version of value.
All Classes and Interfaces|All Packages
PublishAllBeanWrapper.setTarget(Object).