org.apache.openejb.jee
Class AroundInvoke

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

public class AroundInvoke
extends 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  String clazz
           
protected  String methodName
           
 
Constructor Summary
AroundInvoke()
           
AroundInvoke(Method method)
           
AroundInvoke(String clazz, String methodName)
           
 
Method Summary
 String getClassName()
           
 String getClazz()
           
 String getMethodName()
           
 void setClazz(String value)
           
 void setMethodName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

protected String clazz

methodName

protected String methodName
Constructor Detail

AroundInvoke

public AroundInvoke()

AroundInvoke

public AroundInvoke(Method method)

AroundInvoke

public AroundInvoke(String clazz,
                    String methodName)
Method Detail

getClazz

public String getClazz()

setClazz

public void setClazz(String value)

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface CallbackMethod

setMethodName

public void setMethodName(String value)

getClassName

public String getClassName()
Specified by:
getClassName in interface CallbackMethod


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