MethodTransaction
Specifies how the container must manage transaction scopes for the enterprise bean's method invocations. It consists of an optional description, a list of method elements, and a transaction attribute.The transaction attribute is to be applied to all the specified methods.
Attributes Summary
transactionAttribute The trans-attribute element specifies how the container must manage the transaction boundaries when delegating a method invocation to an enterprise bean's business method. description The description element is used by the ejb-jar file producer to provide text describing the parent element. assemblyDescriptor /methods methodElements
Attribute Details
transactionAttribute
The trans-attribute element specifies how the container must manage the transaction boundaries when delegating a method invocation to an enterprise bean's business method.
Data type: TransactionAttributeType
Default value: unspecified
Allowed Values: NotSupported Supports Required RequiresNew Mandatory Never
description
The description element is used by the ejb-jar file producer to provide text describing the parent element. The description element should include any information that the ejb-jar file producer wants to provide to the consumer of the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the ejb-jar file consumer will display the description when processing the parent element.
Data type: String
Default value: unspecified
assemblyDescriptor
Data type:
/methods
Data type:
methodElements
Data type: MethodElement