|
||||||||||
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 | |
---|---|
boolean |
checkRequired
Do we check @Required methods to make sure they've been
called? |
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
Autowire
public abstract DependencyCheck defaultDependencyCheck
DependencyCheck
public abstract Lazy defaultLazy
Lazy
public abstract boolean useFactoryAspects
public abstract boolean checkRequired
@Required
methods to make sure they've been
called?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |