public class Jsr160ProxyNotEnabledByDefaultAnymoreDispatcher extends Object implements RequestDispatcher
Constructor and Description |
---|
Jsr160ProxyNotEnabledByDefaultAnymoreDispatcher(Converters pConverters,
ServerHandle pServerInfo,
Restrictor pRestrictor,
Configuration pConfig) |
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.
|
public Jsr160ProxyNotEnabledByDefaultAnymoreDispatcher(Converters pConverters, ServerHandle pServerInfo, Restrictor pRestrictor, Configuration pConfig)
public Object dispatchRequest(JmxRequest pJmxReq) throws InstanceNotFoundException, AttributeNotFoundException, ReflectionException, MBeanException, IOException, NotChangedException
RequestDispatcher
JmxRequest
to a certain backend
and return the result of the JMX action.dispatchRequest
in interface RequestDispatcher
pJmxReq
- the request to dispatchInstanceNotFoundException
- when a certain MBean could not be foundAttributeNotFoundException
- in case an attributes couldnt be resolvedReflectionException
MBeanException
IOException
NotChangedException
public boolean canHandle(JmxRequest pJmxRequest)
RequestDispatcher
canHandle
in interface RequestDispatcher
pJmxRequest
- request to checkpublic boolean useReturnValueWithPath(JmxRequest pJmxRequest)
RequestDispatcher
useReturnValueWithPath
in interface RequestDispatcher
pJmxRequest
- request for getting the handlerCopyright © 2021. All rights reserved.