站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Synchronized (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


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