Package javax.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