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

Constructor Detail

BusinessMethodInterceptorMethodInterceptor

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

getName

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

getRealClass

public java.lang.Class<?> getRealClass()

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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