Index
All Classes and Interfaces|All Packages
A
- AbstractCommandHandler<R> - Class in org.jolokia.service.jmx.handler
-
A handler for dealing with a certain Jolokia command
- AbstractCommandHandler() - Constructor for class org.jolokia.service.jmx.handler.AbstractCommandHandler
- addMBeanInfo(MBeanServerConnection, ObjectInstance, Set<DataUpdater>, Set<CacheKeyProvider>) - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Add information about an MBean as obtained from an
MBeanInfodescriptor. - applyPath() - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Extract either a sub tree or a leaf value.
- ARGS - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- ATTRIBUTES - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
C
- CacheKeyProvider - Class in org.jolokia.service.jmx.api
-
An SPI interface used by
ListHandlerthat can be used to optimize the structure oflist()operation. - CacheKeyProvider(int) - Constructor for class org.jolokia.service.jmx.api.CacheKeyProvider
- canHandle(JolokiaRequest) - Method in class org.jolokia.service.jmx.LocalRequestHandler
- checkForModifiedSince(MBeanServerAccess, JolokiaRequest) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Check, whether the set of MBeans for any managed MBeanServer has been change since the timestamp provided in the given request
- checkForRestriction(JolokiaExecRequest) - Method in class org.jolokia.service.jmx.handler.ExecHandler
-
Check whether there is a restriction on the type to apply.
- checkForRestriction(JolokiaListRequest) - Method in class org.jolokia.service.jmx.handler.ListHandler
-
Check whether there is a restriction on the type to apply.
- checkForRestriction(JolokiaNotificationRequest) - Method in class org.jolokia.service.jmx.handler.NotificationHandler
-
Check whether there is a restriction on the type to apply.
- checkForRestriction(JolokiaReadRequest) - Method in class org.jolokia.service.jmx.handler.ReadHandler
-
We override it here with a noop since we do a more fine grained check during processing of the request.
- checkForRestriction(JolokiaSearchRequest) - Method in class org.jolokia.service.jmx.handler.SearchHandler
-
Check whether there is a restriction on the type to apply.
- checkForRestriction(JolokiaWriteRequest) - Method in class org.jolokia.service.jmx.handler.WriteHandler
-
Check whether there is a restriction on the type to apply.
- checkForRestriction(R) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Check whether there is a restriction on the type to apply.
- checkType() - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Check whether a command of the given type is allowed
- CLASSNAME - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- CommandHandler<R> - Interface in org.jolokia.service.jmx.api
- CommandHandlerManager - Class in org.jolokia.service.jmx.api
-
A request handler manager is responsible for managing so called "request handlers" which are used to dispatch for all command types known to the Jolokia protocol.
- CommandHandlerManager(JolokiaContext) - Constructor for class org.jolokia.service.jmx.api.CommandHandlerManager
-
Manager and dispatcher for incoming requests
- CommandHandlerManager(JolokiaContext, String) - Constructor for class org.jolokia.service.jmx.api.CommandHandlerManager
-
Constructor, which creates the manager.
- context - Variable in class org.jolokia.service.jmx.handler.AbstractCommandHandler
D
- DataKeys - Enum Class in org.jolokia.service.jmx.handler.list
-
Keys used for generating the list result
- DataUpdater - Class in org.jolokia.service.jmx.handler.list
-
Interface for updating a
MBeanInfoDatafor a certain aspect of anMBeanInfo - DataUpdater(int) - Constructor for class org.jolokia.service.jmx.handler.list.DataUpdater
- DESCRIPTION - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- destroy() - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
Lifecycle method called when agent goes down.
- destroy() - Method in class org.jolokia.service.jmx.api.CommandHandlerManager
-
Lifecycle method called when agent goes down
- destroy() - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Lifecycle method called when agent goes down.
- destroy() - Method in class org.jolokia.service.jmx.LocalRequestHandler
-
Unregister the config MBean
- determineKey(ObjectInstance) - Method in class org.jolokia.service.jmx.api.CacheKeyProvider
-
By providing a non-null key for an
ObjectInstancean extension may tell Jolokia that the JSON data forMBeanInfocan be shared with otherinstancesthat use the same cache key. - determineKey(ObjectInstance) - Method in class org.jolokia.service.jmx.handler.list.JDKManagementCacheKeyProvider
- dispatch(MBeanServerAccess, NotificationCommand) - Method in class org.jolokia.service.jmx.handler.notification.NotificationDispatcher
-
Dispatch a command to the appropriate method in the action in the delegate
- doHandleAllServerRequest(MBeanServerAccess, JolokiaListRequest, Object) - Method in class org.jolokia.service.jmx.handler.ListHandler
-
Default implementation fo handling a request for multiple servers at once.
- doHandleAllServerRequest(MBeanServerAccess, JolokiaNotificationRequest, Object) - Method in class org.jolokia.service.jmx.handler.NotificationHandler
-
Default implementation fo handling a request for multiple servers at once.
- doHandleAllServerRequest(MBeanServerAccess, JolokiaReadRequest, Object) - Method in class org.jolokia.service.jmx.handler.ReadHandler
-
Default implementation fo handling a request for multiple servers at once.
- doHandleAllServerRequest(MBeanServerAccess, JolokiaSearchRequest, Object) - Method in class org.jolokia.service.jmx.handler.SearchHandler
-
Default implementation fo handling a request for multiple servers at once.
- doHandleAllServerRequest(MBeanServerAccess, R, Object) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Default implementation fo handling a request for multiple servers at once.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaExecRequest) - Method in class org.jolokia.service.jmx.handler.ExecHandler
-
Execute an JMX operation.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaListRequest) - Method in class org.jolokia.service.jmx.handler.ListHandler
-
Abstract method to be subclassed by a concrete handler for performing the request.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaNotificationRequest) - Method in class org.jolokia.service.jmx.handler.NotificationHandler
-
Abstract method to be subclassed by a concrete handler for performing the request.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaReadRequest) - Method in class org.jolokia.service.jmx.handler.ReadHandler
-
Used for a request to a single attribute from a single MBean.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaSearchRequest) - Method in class org.jolokia.service.jmx.handler.SearchHandler
-
Abstract method to be subclassed by a concrete handler for performing the request.
- doHandleSingleServerRequest(MBeanServerConnection, JolokiaWriteRequest) - Method in class org.jolokia.service.jmx.handler.WriteHandler
-
Abstract method to be subclassed by a concrete handler for performing the request.
- doHandleSingleServerRequest(MBeanServerConnection, R) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Abstract method to be subclassed by a concrete handler for performing the request.
E
- ERROR - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- ExecHandler - Class in org.jolokia.service.jmx.handler
-
Handler for dealing with execute requests.
- ExecHandler() - Constructor for class org.jolokia.service.jmx.handler.ExecHandler
- extractData(ObjectName, MBeanInfo, String) - Method in class org.jolokia.service.jmx.handler.list.DataUpdater
-
Do the real work by extracting the data from the MBeanInfo.
G
- getCommandHandler(RequestType) - Method in class org.jolokia.service.jmx.api.CommandHandlerManager
-
Get the request handler for the given type
- getKey() - Method in enum class org.jolokia.service.jmx.handler.list.DataKeys
-
Get the key of the enum
- getKey() - Method in class org.jolokia.service.jmx.handler.list.DataUpdater
-
Get the key under which the extracted data should be added.
- getType() - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.ExecHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.ListHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.NotificationHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.ReadHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.SearchHandler
-
The type of request which can be served by this handler
- getType() - Method in class org.jolokia.service.jmx.handler.WriteHandler
-
The type of request which can be served by this handler
H
- handleAllServerRequest(MBeanServerAccess, R, Object) - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
Override this if you want to have all servers at once for processing the request (like need for merging info as for a
listcommand). - handleAllServerRequest(MBeanServerAccess, R, Object) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Override this if you want to have all servers at once for processing the request (like need for merging info as for a
listcommand). - handleAllServersAtOnce(JolokiaListRequest) - Method in class org.jolokia.service.jmx.handler.ListHandler
-
Return true since a list handler needs to merge all information
- handleAllServersAtOnce(JolokiaNotificationRequest) - Method in class org.jolokia.service.jmx.handler.NotificationHandler
-
Override this if you want all servers as list in the argument, e.g.
- handleAllServersAtOnce(JolokiaReadRequest) - Method in class org.jolokia.service.jmx.handler.ReadHandler
-
For a simple requests (one MBean, one attribute) we let the dispatching of the servers done by the upper level.
- handleAllServersAtOnce(JolokiaSearchRequest) - Method in class org.jolokia.service.jmx.handler.SearchHandler
-
Override this if you want all servers as list in the argument, e.g.
- handleAllServersAtOnce(R) - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
Override this if you want all servers as list in the argument, e.g.
- handleAllServersAtOnce(R) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Override this if you want all servers as list in the argument, e.g.
- handleException(ObjectName, IOException) - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Add an exception which occurred during extraction of an
MBeanInfofor a certainObjectNameto this map. - handleException(ObjectName, IllegalStateException) - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Add an exception which occurred during extraction of an
MBeanInfofor a certainObjectNameto this map. - handleException(ObjectName, InstanceNotFoundException) - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Add an exception which occurred during extraction of an
MBeanInfofor a certainObjectNameto this map. - handleFirstOrSecondLevel(ObjectName) - Method in class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
The first two levels of this map (tree) consist of the MBean's domain name and name properties, which are independent of an MBean's meta data.
- handleRequest(R, Object) - Method in class org.jolokia.service.jmx.LocalRequestHandler
- handleSingleServerRequest(MBeanServerConnection, R) - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
Handle a request for a single server and throw an
InstanceNotFoundExceptionif the request cannot be handle by the provided server. - handleSingleServerRequest(MBeanServerConnection, R) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Handle a request for a single server and throw an
InstanceNotFoundExceptionif the request cannot be handle by the provided server.
I
- init(JolokiaContext) - Method in class org.jolokia.service.jmx.LocalRequestHandler
- init(JolokiaContext, String) - Method in interface org.jolokia.service.jmx.api.CommandHandler
-
Lifecycle method in order to initialize the handler
- init(JolokiaContext, String) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
- init(JolokiaContext, String) - Method in class org.jolokia.service.jmx.handler.NotificationHandler
- isObjectNameHidden(ObjectName) - Method in class org.jolokia.service.jmx.handler.AbstractCommandHandler
-
Checks whether an
ObjectNameshould be removed (filtered out) from results oflistorsearchoperations.
J
- JDKManagementCacheKeyProvider - Class in org.jolokia.service.jmx.handler.list
- JDKManagementCacheKeyProvider(int) - Constructor for class org.jolokia.service.jmx.handler.list.JDKManagementCacheKeyProvider
- JmxServiceActivator - Class in org.jolokia.service.jmx.osgi
-
Simple activator for creating a JMX request handler
- JmxServiceActivator() - Constructor for class org.jolokia.service.jmx.osgi.JmxServiceActivator
K
L
- ListHandler - Class in org.jolokia.service.jmx.handler
-
Handler for obtaining a list of all available MBeans and its attributes and operations.
- ListHandler() - Constructor for class org.jolokia.service.jmx.handler.ListHandler
- LocalRequestHandler - Class in org.jolokia.service.jmx
-
Dispatcher which dispatches to one or more local
MBeanServer. - LocalRequestHandler(int) - Constructor for class org.jolokia.service.jmx.LocalRequestHandler
-
Create a new local dispatcher which accesses local MBeans.
M
- MBeanInfoData - Class in org.jolokia.service.jmx.handler.list
-
Tree of MBean meta data.
- MBeanInfoData(int, Deque<String>, boolean, boolean, boolean, String) - Constructor for class org.jolokia.service.jmx.handler.list.MBeanInfoData
-
Constructor taking a max depth.
N
- NAME - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- NotificationDispatcher - Class in org.jolokia.service.jmx.handler.notification
-
Dispatcher for notification commands.
- NotificationDispatcher(JolokiaContext) - Constructor for class org.jolokia.service.jmx.handler.notification.NotificationDispatcher
-
Initialize backends and delegate
- NotificationHandler - Class in org.jolokia.service.jmx.handler
-
A request handler which is responsible for managing notification requests.
- NotificationHandler() - Constructor for class org.jolokia.service.jmx.handler.NotificationHandler
- NOTIFICATIONS - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
O
- OPERATIONS - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- org.jolokia.service.jmx - package org.jolokia.service.jmx
- org.jolokia.service.jmx.api - package org.jolokia.service.jmx.api
- org.jolokia.service.jmx.handler - package org.jolokia.service.jmx.handler
- org.jolokia.service.jmx.handler.list - package org.jolokia.service.jmx.handler.list
- org.jolokia.service.jmx.handler.notification - package org.jolokia.service.jmx.handler.notification
- org.jolokia.service.jmx.osgi - package org.jolokia.service.jmx.osgi
P
- pProvider - Variable in class org.jolokia.service.jmx.handler.AbstractCommandHandler
R
- READ_WRITE - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- ReadHandler - Class in org.jolokia.service.jmx.handler
-
Handler for managing READ requests for reading attributes.
- ReadHandler() - Constructor for class org.jolokia.service.jmx.handler.ReadHandler
- RETURN_TYPE - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
S
- SearchHandler - Class in org.jolokia.service.jmx.handler
-
Handler responsible for searching for MBean names.
- SearchHandler() - Constructor for class org.jolokia.service.jmx.handler.SearchHandler
- start(BundleContext) - Method in class org.jolokia.service.jmx.osgi.JmxServiceActivator
- stop(BundleContext) - Method in class org.jolokia.service.jmx.osgi.JmxServiceActivator
T
- toString() - Method in enum class org.jolokia.service.jmx.handler.list.DataKeys
- TYPE - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
- TYPES - Enum constant in enum class org.jolokia.service.jmx.handler.list.DataKeys
U
- update(Map<String, Object>, ObjectName, MBeanInfo, Deque<String>) - Method in class org.jolokia.service.jmx.handler.list.DataUpdater
-
Update the given map object with the data extracted from the given MBeanInfo
V
- valueOf(String) - Static method in enum class org.jolokia.service.jmx.handler.list.DataKeys
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jolokia.service.jmx.handler.list.DataKeys
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyThatPathIsEmpty(Deque<String>) - Method in class org.jolokia.service.jmx.handler.list.DataUpdater
-
Check whether the given path is empty, if not, then throw an exception
W
- WriteHandler - Class in org.jolokia.service.jmx.handler
-
Handler for dealing with write request.
- WriteHandler() - Constructor for class org.jolokia.service.jmx.handler.WriteHandler
All Classes and Interfaces|All Packages