org.jboss.ejb3.interceptors.aop
Class LifecycleCallbackBeanMethodInterceptor

java.lang.Object
  extended by org.jboss.ejb3.interceptors.aop.LifecycleCallbackBeanMethodInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class LifecycleCallbackBeanMethodInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

Chapter 12.4 Lifecycle callback interceptor methods defined on a bean class have the following signature: void ()

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

Constructor Summary
LifecycleCallbackBeanMethodInterceptor(Method lifecycleCallbackMethod)
           
 
Method Summary
 String getName()
           
 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

LifecycleCallbackBeanMethodInterceptor

public LifecycleCallbackBeanMethodInterceptor(Method lifecycleCallbackMethod)
Parameters:
lifecycleCallbackMethod - a lifecycle callback on the bean
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


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