Specify a method to perform exclusive control when you are accessing business methods of Singleton Session Bean in which the Container Managed Concurrency is set.
The following table lists the @Lock attributes:
Attribute name | Functionality |
---|---|
value | Specify whether concurrent access is allowed (READ) or not allowed (WRITE) when you access business methods. |
Details of each attribute are as follows: