javax.ejb

## Annotation Type ConcurrencyManagement

-     @Target(value=TYPE)
      @Retention(value=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 and Description
    --- | ---
    `ConcurrencyManagementType` | `value`

- - ### Element Detail

    - #### value

          public abstract ConcurrencyManagementType value

      Default:
        javax.ejb.ConcurrencyManagementType.CONTAINER

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.