- href="mailto:juha@jboss.org">Juha Lindfors.
$ - Revision: 81026 $| Method from org.jboss.mx.interceptor.Interceptor Summary: |
|---|
| destroy, getName, init, invoke, isShared, setLogger, start, stop |
| Method from org.jboss.mx.interceptor.Interceptor Detail: |
|---|
For shared interceptors the lifecycle is driven by the MBean unregistration. This method is called after the MBean is registered to the server as part of the javax.management.MBeanRegistration#postDeregister execution. Concrete interceptor implementations can override this method to provide cleanup code that should be executed once the interceptor is no longer registered to the MBean server. |
|
For shared interceptors the lifecycle is driven by the MBean registration. This method is called before the MBean is registered to the server. Concrete interceptor implementations can override this method to provide initialization code that should be executed before the interceptor is registered. Any exception that is propagated from this method to its caller will cancel the interceptor registration. |
|
|
Shared interceptors should set up their log facility through other means as they are invoked by several different MBean invokers. To access the log implementation of the originating invoker for a particular invocation, an interceptor may query they invocation context for invoker reference. |
For shared interceptors the lifecycle is driven by the MBean registration. This method is called after the MBean is registered to the server as part of the javax.management.MBeanRegistration#postRegister execution. Concrete interceptor implementations can override this method to provide initialization code that should be executed once the MBean server and object name references for this interceptor have been resolved. |
For shared interceptors the lifecycle is driven by the MBean unregistration. This method is called after the MBean is registered to the server as part of the javax.management.MBeanRegistration#preDeregister execution. Concrete interceptor implementations can override this method to provide cleanup code that should be executed before the interceptor is unregistered. Any exception that is propagated from this method to its caller will cancel the interceptor unregistration. |