org.jboss.ejb3.interceptors.aop
Class LifecycleCallbackInterceptorMethodInterceptor

java.lang.Object
  extended by 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)

Version:
$Revision: 69232 $
Author:
Carlo de Wolf

Constructor Summary
LifecycleCallbackInterceptorMethodInterceptor(java.lang.Object interceptor, java.lang.reflect.Method lifecycleCallbackMethod)
           
 
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
 

Constructor Detail

LifecycleCallbackInterceptorMethodInterceptor

public LifecycleCallbackInterceptorMethodInterceptor(java.lang.Object interceptor,
                                                     java.lang.reflect.Method lifecycleCallbackMethod)
Parameters:
interceptor - an spec interceptor
lifecycleCallbackMethod - a lifecycle callback on the spec interceptor
Method Detail

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.