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 : TransactionAttributeTypeThe 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 : String@since J2EE1.
assemblyDescriptor :   
/methods :   
methodElements : MethodElement *  
descriptions : Description * @since J2EE1.

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    -    @since J2EE1.4 deprecated, becomes descriptionsThe 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*



descriptions    -    @since J2EE1.4
     data type: Description*


Copyright IBM Corp. 1997-2004