|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Synchronized
Specifies that a stateful component has multiple concurrent clients, and so access to the component must be synchronized. This annotation is not required session scoped components, which are synchronized by default.
Optional Element Summary | |
---|---|
long |
timeout
How long should we wait for the lock before throwing an exception? |
public abstract long timeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |