Package jakarta.ejb
Annotation Type ConcurrencyManagement
-
@Target(TYPE) @Retention(RUNTIME) public @interface ConcurrencyManagement
Declares a singleton session bean's concurrency management type.If this annotation is not specified, the singleton bean is assumed to have container managed concurrency.
This annotation may be applied to stateful session beans, but doing so has no impact on the semantics of concurrency management for such beans. The concurrency management type for bean-managed concurrency (
BEAN
) does not apply to stateful session beans.- Since:
- EJB 3.1
- See Also:
ConcurrencyManagementType
,Lock
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ConcurrencyManagementType
value
value.
-
-
-
Element Detail
-
value
ConcurrencyManagementType value
value.
- Returns:
- a
ConcurrencyManagementType
object.
- Default:
- jakarta.ejb.ConcurrencyManagementType.CONTAINER
-
-