Package org.apache.struts2.inject
Annotation Interface Inject
Annotates members and parameters which should have their value[s] injected.
- Author:
- crazybob@google.com (Bob Lee)
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
valueString value- Returns:
- Dependency name. Defaults to Container.DEFAULT_NAME.
 - Default:
- "default"
 
- 
requiredboolean required- Returns:
- Whether or not injection is required. Applicable only to methods and fields (not constructors or parameters).
 - Default:
- true
 
 
-