|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface SpringBean
Annotation used to tag a field as a placeholder for a spring bean.
Optional Element Summary | |
---|---|
java.lang.String |
name
Optional attribute for specifying the name of the bean. |
boolean |
required
Optional attribute for specifying if bean is required or not. |
public abstract java.lang.String name
public abstract boolean required
false
if the bean is optional. Default: true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |