org.jboss.ejb3.interceptors.aop
Class BusinessMethodInterceptorMethodInterceptor

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

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

Chapter 12.3 AroundInvoke methods have the following signature: Object (InvocationContext) throws Exception

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

Constructor Summary
BusinessMethodInterceptorMethodInterceptor(Object interceptor, Method businessMethodInterceptorMethod)
           
 
Method Summary
 String getName()
           
 Class<?> getRealClass()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BusinessMethodInterceptorMethodInterceptor

public BusinessMethodInterceptorMethodInterceptor(Object interceptor,
                                                  Method businessMethodInterceptorMethod)
Parameters:
interceptor - an spec interceptor
businessMethodInterceptorMethod - a business method interceptor on the spec interceptor
Method Detail

getName

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

getRealClass

public Class<?> getRealClass()

invoke

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

toString

public String toString()
Overrides:
toString in class Object


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