Annotation Interface ProjectGenerationConfiguration


@Target(TYPE) @Retention(RUNTIME) @Documented @Configuration public @interface ProjectGenerationConfiguration
Specialization of Configuration for configuration of project generation.

Project generation configuration classes are regular Spring Configuration beans. They are located using the SpringFactoriesLoader mechanism (keyed against this class). Project generation beans can be @Conditional beans, usually based on the state of the ProjectDescription for which the ProjectGenerationContext was created.

@ProjectGenerationConfiguration-annotated types should not be processed by the main ApplicationContext so make sure regular classpath scanning is not enabled for packages where such configuration classes reside.

Author:
Andy Wilkinson, Stephane Nicoll