|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Component @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface Configuration
Annotation for a configuration class. This annotation is not required, however its use is recommended to improve configuration processing performance. Holds similar information to that held in the default values of a bean factory.
Note however that the information here is not used to populate the defaults of the owning bean factory, which would affect other configurations. In the style of the Java configuration mechanism generally, each Java configuration class is kept isolated.
| Optional Element Summary | |
|---|---|
Autowire |
defaultAutowire
Specifies the default autowiring strategy. |
DependencyCheck |
defaultDependencyCheck
Dependency check strategy. |
Lazy |
defaultLazy
Bean instantiation strategy. |
String[] |
names
Configuration name. |
boolean |
useFactoryAspects
Do we autowire with aspects from the enclosing factory scope? |
public abstract String[] names
public abstract Autowire defaultAutowire
Autowirepublic abstract DependencyCheck defaultDependencyCheck
DependencyCheckpublic abstract Lazy defaultLazy
Lazypublic abstract boolean useFactoryAspects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||