org.apache.openejb.jee
Class AroundInvoke

java.lang.Object
  extended by org.apache.openejb.jee.AroundInvoke
All Implemented Interfaces:
CallbackMethod

public class AroundInvoke
extends java.lang.Object
implements CallbackMethod

The around-invoke type specifies a method on a class to be called during the around invoke portion of an ejb invocation. Note that each class may have only one around invoke method and that the method may not be overloaded.

If the around-invoke element is missing then the class defining the callback is assumed to be the interceptor class or component class in scope at the location in the descriptor in which the around invoke definition appears.


Field Summary
protected  java.lang.String clazz
           
protected  java.lang.String methodName
           
 
Constructor Summary
AroundInvoke()
           
AroundInvoke(java.lang.reflect.Method method)
           
AroundInvoke(java.lang.String clazz, java.lang.String methodName)
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getClazz()
           
 java.lang.String getMethodName()
           
 void setClazz(java.lang.String value)
           
 void setMethodName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

protected java.lang.String clazz

methodName

protected java.lang.String methodName
Constructor Detail

AroundInvoke

public AroundInvoke()

AroundInvoke

public AroundInvoke(java.lang.reflect.Method method)

AroundInvoke

public AroundInvoke(java.lang.String clazz,
                    java.lang.String methodName)
Method Detail

getClazz

public java.lang.String getClazz()

setClazz

public void setClazz(java.lang.String value)

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in interface CallbackMethod

setMethodName

public void setMethodName(java.lang.String value)

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface CallbackMethod


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.