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


Submit a bug or feature

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

Generated on 10-February-2011 12:41


Spec-Zone.ru - all specs in one place



free hit counter