A B C D F G I J M N O P R S U V

A

action - Variable in class com.j256.simplejmx.common.JmxOperationInfo
 
afterPropertiesSet() - Method in class com.j256.simplejmx.spring.BeanPublisher
 

B

BaseJmxSelfNaming - Class in com.j256.simplejmx.common
Base class which has default implementations of all of the JmxSelfNaming methods.
BaseJmxSelfNaming() - Constructor for class com.j256.simplejmx.common.BaseJmxSelfNaming
 
BeanPublisher - Class in com.j256.simplejmx.spring
Runs through and discovers any beans that need to be registered with the JmxServer.
BeanPublisher() - Constructor for class com.j256.simplejmx.spring.BeanPublisher
 

C

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().
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
 
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(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.

D

description - Variable in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 
description - Variable in class com.j256.simplejmx.common.JmxAttributeMethodInfo
 
description - Variable in class com.j256.simplejmx.common.JmxOperationInfo
 
doMain(String[], boolean) - Method in class com.j256.simplejmx.client.Main
This is public for testing purposes.

F

fromActionValue(int) - Static method in enum com.j256.simplejmx.common.JmxOperationInfo.OperationAction
Return the enumerated action from the MBeanOperationInfo int constant.

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 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
 
getAttributeInfo(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
Return information for a particular attribute name.
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
 
getJmxDomainName() - Method in class com.j256.simplejmx.common.BaseJmxSelfNaming
 
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 interface com.j256.simplejmx.common.JmxSelfNaming
Return the appropriate array of folder names used to built the associated ObjectName.
getJmxNameOfObject() - Method in class com.j256.simplejmx.common.BaseJmxSelfNaming
 
getJmxNameOfObject() - Method in interface com.j256.simplejmx.common.JmxSelfNaming
Return the name of the object that will be the "name=..." part of the associated ObjectName.
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
 
getName() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 
getOperationInfo(ObjectName, String) - Method in class com.j256.simplejmx.client.JmxClient
Return an array of the operations associated with the bean name.
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
 
getValue() - Method in class com.j256.simplejmx.common.JmxFolderName
 

I

invoke(String, Object[], String[]) - Method in class com.j256.simplejmx.server.ReflectionMbean
 
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, String...) - Method in class com.j256.simplejmx.client.JmxClient
Invoke a JMX method as an array of parameter strings.
invokeOperation(String, String, String, Object...) - Method in class com.j256.simplejmx.client.JmxClient
Invoke a JMX method as an array of objects.
invokeOperation(ObjectName, String, Object...) - Method in class com.j256.simplejmx.client.JmxClient
Invoke a JMX method as an array of objects.
invokeOperationToString(ObjectName, String, String...) - Method in class com.j256.simplejmx.client.JmxClient
Invoke a JMX method as an array of parameter strings.
isReadible - Variable in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 
isReadible() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 
isWritable - Variable in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 
isWritable() - Method in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 

J

JmxAttributeField - Annotation Type in com.j256.simplejmx.common
This identifies which fields you want to expose via JMX.
JmxAttributeFieldInfo - Class in com.j256.simplejmx.common
This identifies a field that you want to expose via JMX.
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 identifies a get or set method that you want to expose via JMX.
JmxAttributeMethodInfo(String, String) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
 
JmxAttributeMethodInfo(String, JmxAttributeMethod) - Constructor for class com.j256.simplejmx.common.JmxAttributeMethodInfo
 
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(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.
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 methods that is a JMX operation for methods that are _not_ named "get..." or "set...".
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
An enumerated version of the constants from MBeanOperationInfo.
JmxResource - Annotation Type in com.j256.simplejmx.common
This is used to identify an object which is going to be exported using JMX.
JmxSelfNaming - Interface in com.j256.simplejmx.common
This allows objects to name themselves based on some internal values.
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(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 wrapper around an existing MBeanServer.

M

Main - Class in com.j256.simplejmx.client
Sample main class which starts our JMX client.
Main() - Constructor for class com.j256.simplejmx.client.Main
 
main(String[]) - Static method in class com.j256.simplejmx.client.Main
Standard main method that can be called from the command line.
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(JmxSelfNaming) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
Constructs an object-name from a self naming object only.
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(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.
makeObjectName(String, String) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
Constructs an object-name from a domain-name and object-name.
makeObjectName(Object) - Static method in class com.j256.simplejmx.common.ObjectNameUtil
Constructs an object-name from an object that is detected either having the JmxResource annotation or implementing JmxSelfNaming.
methodName - Variable in class com.j256.simplejmx.common.JmxAttributeMethodInfo
 
methodName - Variable in class com.j256.simplejmx.common.JmxOperationInfo
 

N

name - Variable in class com.j256.simplejmx.common.JmxAttributeFieldInfo
 

O

ObjectNameUtil - Class in com.j256.simplejmx.common
Utility class that creates ObjectName objects from various arguments.

P

parameterDescriptions - Variable in class com.j256.simplejmx.common.JmxOperationInfo
 
parameterNames - Variable in class com.j256.simplejmx.common.JmxOperationInfo
 

R

ReflectionMbean - Class in com.j256.simplejmx.server
This wraps an object that has been registered in the server using JmxServer.register(Object).
ReflectionMbean(JmxSelfNaming) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
Create a mbean associated with a delegate object that implements self-naming.
ReflectionMbean(Object) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
Create a mbean associated with a delegate object that must have a JmxResource annotation.
ReflectionMbean(Object, JmxAttributeFieldInfo[], JmxAttributeMethodInfo[], JmxOperationInfo[]) - Constructor for class com.j256.simplejmx.server.ReflectionMbean
Create a mbean associated with a delegate object with user provided attribute and operation information.
register(Object) - Method in class com.j256.simplejmx.server.JmxServer
Register the object parameter for exposure with JMX.
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.
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

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
 
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
 
setJmxServer(JmxServer) - Method in class com.j256.simplejmx.spring.BeanPublisher
 
setPort(int) - Method in class com.j256.simplejmx.server.JmxServer
This is actually calls JmxServer.setRegistryPort(int).
setRegistryPort(int) - Method in class com.j256.simplejmx.server.JmxServer
Set our port number to listen for JMX connections.
setServerPort(int) - Method in class com.j256.simplejmx.server.JmxServer
Chances are you should be using JmxServer.setPort(int) or JmxServer.setRegistryPort(int) unless you know what you are doing.
start() - Method in class com.j256.simplejmx.server.JmxServer
Start our JMX service.
stop() - Method in class com.j256.simplejmx.server.JmxServer
Same as JmxServer.stopThrow() but this ignores any exceptions.
stopThrow() - Method in class com.j256.simplejmx.server.JmxServer
Stop the JMX server by closing the connector and unpublishing it from the RMI registry.

U

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 com.j256.simplejmx.common.JmxOperationInfo.OperationAction
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.j256.simplejmx.common.JmxOperationInfo.OperationAction
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D F G I J M N O P R S U V

This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.