org.jboss.seam.annotations
Annotation Type Synchronized


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
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 for session scoped components, which are synchronized by default.

Author:
Gavin King

Optional Element Summary
 long timeout
          How long should we wait for the lock before throwing an exception?
 

timeout

public abstract long timeout
How long should we wait for the lock before throwing an exception?

Returns:
the timeout in milliseconds
Default:
1000L