public interface RequestDispatcher
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(JmxRequest pJmxRequest)
Check whether current dispatcher can handle the given request
|
Object |
dispatchRequest(JmxRequest pJmxReq)
Dispatch a
JmxRequest to a certain backend
and return the result of the JMX action. |
boolean |
useReturnValueWithPath(JmxRequest pJmxRequest)
Whether a return value should be returned directly, ignoring any path.
|
Object dispatchRequest(JmxRequest pJmxReq) throws InstanceNotFoundException, AttributeNotFoundException, ReflectionException, MBeanException, IOException, NotChangedException
JmxRequest
to a certain backend
and return the result of the JMX action.pJmxReq
- the request to dispatchInstanceNotFoundException
- when a certain MBean could not be foundAttributeNotFoundException
- in case an attributes couldnt be resolvedReflectionException
MBeanException
IOException
NotChangedException
boolean canHandle(JmxRequest pJmxRequest)
pJmxRequest
- request to checkboolean useReturnValueWithPath(JmxRequest pJmxRequest)
pJmxRequest
- request for getting the handlerCopyright © 2017. All rights reserved.