public Object dispatchRequest ( JsonRequestHandler pRequestHandler , JmxRequest pJmxReq ) throws InstanceNotFoundException , AttributeNotFoundException , ReflectionException , MBeanException , NotChangedException { serverHandle . preDispatch ( mBeanServerManager , pJmxReq ) ; if ( pRequestHandler . handleAllServersAtOnce ( pJmxReq ) ) { try { return pRequestHandler . handleRequest ( mBeanServerManager , pJmxReq ) ; } catch ( IOException e ) { throw new IllegalStateException ( "Internal: IOException " + e + ". Shouldn't happen." , e ) ; } } else { return mBeanServerManager . handleRequest ( pRequestHandler , pJmxReq ) ; } }
Dispatch a request to the MBeanServer which can handle it