org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor
Interface MBeanServerInterceptorConfiguratorMBean

All Known Implementing Classes:
MBeanServerInterceptorConfigurator

public interface MBeanServerInterceptorConfiguratorMBean

Management interface for the MBeanServerInterceptorConfigurator MBean.

Version:
$Revision: 1.1.1.1 $
Author:
Simone Bordet

Method Summary
 void addInterceptor(MBeanServerInterceptor interceptor)
          Appends the given interceptor, provided by the client, to the existing interceptor chain.
 void clearInterceptors()
          Removes all the interceptors added via addInterceptor(MBeanServerInterceptor interceptor).
 boolean isRunning()
          Returns whether this configurator is running and thus if the MBeanServer can accept incoming calls
 void registerInterceptor(MBeanServerInterceptor interceptor, 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.
 

Method Detail

addInterceptor

void addInterceptor(MBeanServerInterceptor interceptor)
Appends the given interceptor, provided by the client, to the existing interceptor chain.

See Also:
registerInterceptor(org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor.MBeanServerInterceptor, javax.management.ObjectName)

registerInterceptor

void registerInterceptor(MBeanServerInterceptor interceptor,
                         ObjectName name)
                         throws MBeanException
Appends the given interceptor, provided by the client, to the existing interceptor chain and registers it as MBean.

Throws:
MBeanException
See Also:
addInterceptor(org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor.MBeanServerInterceptor)

clearInterceptors

void clearInterceptors()
Removes all the interceptors added via addInterceptor(MBeanServerInterceptor interceptor).

See Also:
addInterceptor(org.apache.felix.mosgi.jmx.agent.mx4j.server.interceptor.MBeanServerInterceptor)

start

void start()
Starts this configurator, so that the MBeanServer is now able to accept incoming calls.

See Also:
stop(), isRunning()

stop

void stop()
Stops this configurator, so that the MBeanServer is not able to accept incoming calls.

See Also:
start()

isRunning

boolean isRunning()
Returns whether this configurator is running and thus if the MBeanServer can accept incoming calls

See Also:
start()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.