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 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 ()

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

Constructor Summary
LifecycleCallbackBeanMethodInterceptor(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

LifecycleCallbackBeanMethodInterceptor

public LifecycleCallbackBeanMethodInterceptor(java.lang.reflect.Method lifecycleCallbackMethod)
Parameters:
lifecycleCallbackMethod - a lifecycle callback on the bean
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.