|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerTransactionType<T>
This interface defines the contract for the container-transactionType
xsd type
Original Documentation:
The container-transactionType specifies how the container
must manage transaction scopes for the enterprise bean's
method invocations. It defines an optional description, a
list of method elements, and a transaction attribute. The
transaction attribute is to be applied to all the specified
methods.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<MethodType<ContainerTransactionType<T>>> |
getMethodList()
Returns all method elements |
TransAttributeType |
getTransAttribute()
Returns the trans-attribute element |
java.lang.String |
getTransAttributeAsString()
Returns the trans-attribute element |
MethodType<ContainerTransactionType<T>> |
method()
Returns the method element |
ContainerTransactionType<T> |
removeAllDescription()
Removes the description element |
ContainerTransactionType<T> |
removeAllMethod()
Removes all method elements |
ContainerTransactionType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ContainerTransactionType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ContainerTransactionType<T> |
setTransAttribute(java.lang.String transAttribute)
If not already created, a new trans-attribute element with the given value will be created. |
ContainerTransactionType<T> |
setTransAttribute(TransAttributeType transAttribute)
If not already created, a new trans-attribute element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ContainerTransactionType<T> setDescription(java.lang.String description)
description
element
ContainerTransactionType
ContainerTransactionType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
ContainerTransactionType
ContainerTransactionType<T> removeAllDescription()
description
element
ContainerTransactionType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
ContainerTransactionType<T> removeAllMethod()
method
elements
ContainerTransactionType
MethodType<ContainerTransactionType<T>> method()
method
element
method
java.util.List<MethodType<ContainerTransactionType<T>>> getMethodList()
method
elements
method
ContainerTransactionType<T> setTransAttribute(TransAttributeType transAttribute)
trans-attribute
element with the given value will be created.
Otherwise, the existing trans-attribute
element will be updated with the given value.
ContainerTransactionType
ContainerTransactionType<T> setTransAttribute(java.lang.String transAttribute)
trans-attribute
element with the given value will be created.
Otherwise, the existing trans-attribute
element will be updated with the given value.
ContainerTransactionType
TransAttributeType getTransAttribute()
trans-attribute
element
trans-attribute
java.lang.String getTransAttributeAsString()
trans-attribute
element
trans-attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |