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
 ConcurrencyManagementType value
           
 

value

public abstract ConcurrencyManagementType value
Default:
javax.ejb.ConcurrencyManagementType.CONTAINER


Copyright © 2012 GlassFish Community. All Rights Reserved.