AccessIntent

Specifies the access intents for a CMP entity bean. Access intents can be used by the container implementation to optimize the persister code for the CMP-managed entity bean.



Attributes Summary
intentType : AccessIntentKindSpecifies the type of access intent.
methodElements : MethodElement *  

Attribute Details

intentType    -    Specifies the type of access intent. An access intent of UPDATE is the same as findForUpdate, and can contain only method elements which are finder methods. An access intent of READ specifies read-only intent. Access Intents are specified at a method level; however, bean-level defaults can be specified by using a method element name of "*". There cannot be duplicate methodElements for the same method under the same access intent.
     data type: AccessIntentKind
     default Value:   unspecified
     Allowed Values:  READ   UPDATE  



methodElements    -     
     data type: MethodElement*


Copyright IBM Corp. 1997-2004