|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mx4j.server.interceptor.MBeanServerInterceptorConfigurator
MBean that configures the MBeanServer --> MBean interceptor chain.
Field Summary | |
static java.lang.String |
OBJECT_NAME
|
Constructor Summary | |
MBeanServerInterceptorConfigurator(javax.management.MBeanServer server)
Creates an instance of this configurator, for the given MBeanServer |
Method Summary | |
void |
addInterceptor(MBeanServerInterceptor interceptor)
Appends the given interceptor, provided by the client, to the existing interceptor chain. |
void |
addPostInterceptor(MBeanServerInterceptor interceptor)
Adds the given interceptor at the end of the interceptor chain, after the custom interceptors that may be added via addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor) . |
void |
addPreInterceptor(MBeanServerInterceptor interceptor)
Adds the given interceptor at the beginning of the interceptor chain, before the custom interceptors that may be added via addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor) . |
void |
clearInterceptors()
Removes all the interceptors added via addInterceptor(MBeanServerInterceptor interceptor) . |
MBeanServerInterceptor |
getHeadInterceptor()
Returns the head interceptor of the interceptor chain. |
boolean |
isRunning()
Returns whether this configurator is running and thus if the MBeanServer can accept incoming calls |
void |
registerInterceptor(MBeanServerInterceptor interceptor,
javax.management.ObjectName name)
Appends the given interceptor, provided by the client, to the existing interceptor chain and registers it as MBean. |
void |
start()
Starts this configurator, so that the MBeanServer is now able to accept incoming calls. |
void |
stop()
Stops this configurator, so that the MBeanServer is not able to accept incoming calls. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String OBJECT_NAME
Constructor Detail |
public MBeanServerInterceptorConfigurator(javax.management.MBeanServer server)
Method Detail |
public void addInterceptor(MBeanServerInterceptor interceptor)
addInterceptor
in interface MBeanServerInterceptorConfiguratorMBean
registerInterceptor(mx4j.server.interceptor.MBeanServerInterceptor, javax.management.ObjectName)
public void registerInterceptor(MBeanServerInterceptor interceptor, javax.management.ObjectName name) throws javax.management.MBeanException
registerInterceptor
in interface MBeanServerInterceptorConfiguratorMBean
javax.management.MBeanException
addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor)
public void clearInterceptors()
addInterceptor(MBeanServerInterceptor interceptor)
.
clearInterceptors
in interface MBeanServerInterceptorConfiguratorMBean
addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor)
public void addPreInterceptor(MBeanServerInterceptor interceptor)
addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor)
.
This method is called by the MBeanServer during initialization, to configure the interceptors needed to work properly.
public void addPostInterceptor(MBeanServerInterceptor interceptor)
addInterceptor(mx4j.server.interceptor.MBeanServerInterceptor)
.
This method is called by the MBeanServer during initialization, to configure the interceptors needed to work properly.
public MBeanServerInterceptor getHeadInterceptor()
public void start()
start
in interface MBeanServerInterceptorConfiguratorMBean
stop()
,
isRunning()
public void stop()
stop
in interface MBeanServerInterceptorConfiguratorMBean
start()
public boolean isRunning()
isRunning
in interface MBeanServerInterceptorConfiguratorMBean
start()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |