|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.interceptor.AbstractInterceptor (src)
org.jboss.mx.interceptor.AbstractSharedInterceptor (src)
test.implementation.interceptor.support.MySharedInterceptor
| Field Summary | |
boolean |
isDestroy
|
boolean |
isInit
|
boolean |
isStart
|
boolean |
isStop
|
| Fields inherited from class org.jboss.mx.interceptor.AbstractSharedInterceptor (src) |
objectName, server |
| Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src) |
isShared, log, name |
| Constructor Summary | |
MySharedInterceptor()
|
|
| Method Summary | |
void |
destroy()
This method is part of the interceptor MBean's registration lifecycle. |
void |
init()
This method is part of the interceptor MBean's registration lifecycle. |
java.lang.Object |
invoke(Invocation (src) i)
The invoke method is called when the invocation object passes this interceptor. |
void |
start()
This method is part of the interceptor MBean's registration lifecycle. |
void |
stop()
This method is part of the interceptor MBean's registration lifecycle. |
| Methods inherited from class org.jboss.mx.interceptor.AbstractSharedInterceptor (src) |
createObjectName, getMBeanServer, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setName, toString |
| Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src) |
getName, isShared, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.mx.interceptor.Interceptor (src) |
getName, isShared, setLogger |
| Field Detail |
public boolean isInit
public boolean isStart
public boolean isStop
public boolean isDestroy
| Constructor Detail |
public MySharedInterceptor()
| Method Detail |
public java.lang.Object invoke(Invocation (src) i)
throws java.lang.Throwable
Interceptor (src)
invoke in interface Interceptor (src) invoke in class AbstractInterceptor (src) i - the invocation object send towards the target
resource by the invoker
java.lang.ThrowableInvocation (src) ,
MBeanInvoker (src)
public void init()
throws java.lang.Exception
AbstractSharedInterceptor (src) Any exception that is propagated from this method to its caller will cancel the interceptor registration.
init in interface Interceptor (src) init in class AbstractSharedInterceptor (src) java.lang.Exception - if you want to cancel the interceptor registrationpublic void start()
AbstractSharedInterceptor (src)
start in interface Interceptor (src) start in class AbstractSharedInterceptor (src)
public void stop()
throws java.lang.Exception
AbstractSharedInterceptor (src) Any exception that is propagated from this method to its caller will cancel the interceptor unregistration.
stop in interface Interceptor (src) stop in class AbstractSharedInterceptor (src) java.lang.Exception - if you want to cancel the interceptor unregistrationpublic void destroy()
AbstractSharedInterceptor (src)
destroy in interface Interceptor (src) destroy in class AbstractSharedInterceptor (src)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||