|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper com.sun.jdmk.MBeanInterceptorWrapper
MBeanServerInterceptorWrapper
instead.
public class MBeanInterceptorWrapper
Implements a MBeanInterceptorWrapper that receives all requests from the MBeanServer and forward them to a wrapped MBeanInterceptor.
If the MBeanInterceptorWrapper is instantiated with a non null
MBeanInterceptorWrapper.Controller
object,
then beginOperation is called on the controller before any
operation is invoked on the wrapped interceptor, and endOperation
is called on the controller when the operation invoked on the wrapped
interceptor is completed.
The controller object can be used, for instance, to determine how many operations are currently active on the wrapped interceptor.
MBeanInterceptorWrapper.Controller
Nested Class Summary | |
---|---|
static interface |
MBeanInterceptorWrapper.Controller
Deprecated. Use MBeanServerInterceptorWrapper.Controller
instead. |
Constructor Summary | |
---|---|
MBeanInterceptorWrapper(MBeanInterceptor interceptor,
MBeanInterceptorWrapper.Controller controller)
Deprecated. Construct a new MBeanInterceptorWrapper. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.jdmk.MBeanInterceptor |
---|
addNotificationListener, addNotificationListener, createMBean, createMBean, getAttribute, getAttributes, getDefaultDomain, getMBeanClassLoader, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean |
Constructor Detail |
---|
public MBeanInterceptorWrapper(MBeanInterceptor interceptor, MBeanInterceptorWrapper.Controller controller)
interceptor
- The wrapped interceptor.controller
- The (possibly null) controller object on which
beginOperation and endOperation should be
called. If controller==null
, then
beginOperation and endOperation are not called.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |