org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface AroundInvokeType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
AroundInvokeTypeImpl

public interface AroundInvokeType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the around-invokeType xsd type

Original Documentation:



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 class 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.


Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.lang.String getClazz()
          Returns the class element
 java.lang.String getMethodName()
          Returns the method-name element
 AroundInvokeType<T> removeClazz()
          Removes the class element
 AroundInvokeType<T> removeMethodName()
          Removes the method-name element
 AroundInvokeType<T> setClazz(java.lang.String clazz)
          If not already created, a new class element with the given value will be created.
 AroundInvokeType<T> setMethodName(java.lang.String methodName)
          If not already created, a new method-name element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setClazz

AroundInvokeType<T> setClazz(java.lang.String clazz)
If not already created, a new class element with the given value will be created. Otherwise, the existing class element will be updated with the given value.

Returns:
the current instance of AroundInvokeType

removeClazz

AroundInvokeType<T> removeClazz()
Removes the class element

Returns:
the current instance of AroundInvokeType

getClazz

java.lang.String getClazz()
Returns the class element

Returns:
the node defined for the element class

setMethodName

AroundInvokeType<T> setMethodName(java.lang.String methodName)
If not already created, a new method-name element with the given value will be created. Otherwise, the existing method-name element will be updated with the given value.

Returns:
the current instance of AroundInvokeType

removeMethodName

AroundInvokeType<T> removeMethodName()
Removes the method-name element

Returns:
the current instance of AroundInvokeType

getMethodName

java.lang.String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name