当前页面: 
在线文档首页 > 
JBoss Seam  1.0.1 API 英文版文档
Factory (JBoss Seam API Documentation) - JBoss Seam  1.0.1 API 英文版文档
org.jboss.seam.annotations
Annotation Type Factory
- @Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Factory 
Marks a method as a factory method for a context variable,
 meaning it is responsible for outjecting a value for the
 named context variable when no value is bound to the
 variable. Supports use of the Seam "factory component"
 pattern.
- Author:
- Gavin King
 
value
public abstract String value
- 
 
- 
- Returns:
- the name of the context variable
 - 
- Default:
- ""