当前页面: 
在线文档首页 > 
JBoss Seam  1.0.1 API 英文版文档
Role (JBoss Seam API Documentation) - JBoss Seam  1.0.1 API 英文版文档
org.jboss.seam.annotations
Annotation Type Role
- @Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Role 
Specifies the name and scope role for a seam component role.
 If a component has no @Role annotation missing, it component 
 has exactly one role, defined by @Name and @Scope. If it has
 one or more @Role annotations, the component has one or more
 roles in addition to the default role defined by @Name and
- Author:
- C閟ar Izurieta
 
 
name
public abstract String name
- 
 
- 
 
scope
public abstract ScopeType scope
- 
 
- 
 - 
- Default:
- UNSPECIFIED