public class MBeanReadHandler extends ReadHandler
requesttypedelegate| Constructor and Description |
|---|
MBeanReadHandler(MBeanServerDelegate delegate,
String mbeanname)
Creates an instance of MBeanReadHandler, which handles MBean
read requests.
|
| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonObject |
getRequestObject()
Returns a
JsonObject that contains values relating to the request. |
javax.json.JsonValue |
getValueObject()
Returns an
JsonValue that contains values relating to the target of
the request. |
getResource, getTraceObject, setStatuspublic MBeanReadHandler(@Singleton
MBeanServerDelegate delegate,
String mbeanname)
delegate - The MBeanServerDelegate to get information from.mbeanname - The ObjectName of the MBean to get information from.public javax.json.JsonObject getRequestObject()
ResourceHandlerJsonObject that contains values relating to the request.JsonObject containing the value(s) relating to the request..public javax.json.JsonValue getValueObject()
throws javax.json.JsonException
ResourceHandlerJsonValue that contains values relating to the target of
the request.
Typically this is a primitive type or a JsonObject.JsonValue containing the value(s) relating to the request target.javax.json.JsonExceptionCopyright © 2019. All rights reserved.