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 Specifies the type of access intent.
methodElements The method elements that the access intent applies to.

 

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

The method elements that the access intent applies to.

Data type:  MethodElement