org.jboss.ejb3.interceptors.aop
Class LifecycleCallbackInterceptorMethodInterceptor
java.lang.Object
org.jboss.ejb3.interceptors.aop.LifecycleCallbackInterceptorMethodInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class LifecycleCallbackInterceptorMethodInterceptor
- extends java.lang.Object
- implements org.jboss.aop.advice.Interceptor
Chapter 12.4
Lifecycle callback interceptor methods defined on an interceptor class have the following signature:
void (InvocationContext)
|
Method Summary |
java.lang.String |
getName()
|
java.lang.Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleCallbackInterceptorMethodInterceptor
public LifecycleCallbackInterceptorMethodInterceptor(java.lang.Object interceptor,
java.lang.reflect.Method lifecycleCallbackMethod)
- Parameters:
interceptor - an spec interceptorlifecycleCallbackMethod - a lifecycle callback on the spec interceptor
getName
public java.lang.String getName()
- Specified by:
getName in interface org.jboss.aop.advice.Interceptor
invoke
public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws java.lang.Throwable
- Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
- Throws:
java.lang.Throwable