org.jboss.ejb3.interceptors.aop
Class LifecycleCallbackBeanMethodInterceptor
java.lang.Object
org.jboss.ejb3.interceptors.aop.LifecycleCallbackBeanMethodInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class LifecycleCallbackBeanMethodInterceptor
- extends java.lang.Object
- implements org.jboss.aop.advice.Interceptor
Chapter 12.4
Lifecycle callback interceptor methods defined on a bean class have the following signature:
void ()
|
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 |
LifecycleCallbackBeanMethodInterceptor
public LifecycleCallbackBeanMethodInterceptor(java.lang.reflect.Method lifecycleCallbackMethod)
- Parameters:
lifecycleCallbackMethod - a lifecycle callback on the bean
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