org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface AsyncMethodType<T>

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

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

This interface defines the contract for the async-methodType xsd type

Original Documentation:



The async-methodType element specifies that a session
bean method has asynchronous invocation semantics.


Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

Method Summary
 java.lang.String getMethodName()
          Returns the method-name element
 MethodParamsType<AsyncMethodType<T>> methodParams()
          If not already created, a new method-params element will be created and returned.
 AsyncMethodType<T> removeMethodName()
          Removes the method-name element
 AsyncMethodType<T> removeMethodParams()
          Removes the method-params element
 AsyncMethodType<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

setMethodName

AsyncMethodType<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 AsyncMethodType

removeMethodName

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

Returns:
the current instance of AsyncMethodType

getMethodName

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

Returns:
the node defined for the element method-name

removeMethodParams

AsyncMethodType<T> removeMethodParams()
Removes the method-params element

Returns:
the current instance of AsyncMethodType

methodParams

MethodParamsType<AsyncMethodType<T>> methodParams()
If not already created, a new method-params element will be created and returned. Otherwise, the existing method-params element will be returned.

Returns:
the node defined for the element method-params