|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface LockDeclares a concurrency lock for a singleton session bean with container managed concurrency.
This annotation may be specified on the bean class, the business methods of the bean class or both. Specifying the annotation on a business method overrides the value specified at class level, if any.
If this annotation is not used, a value of Lock(WRITE) is
assumed.
| Optional Element Summary | |
|---|---|
LockType |
value
|
public abstract LockType value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||