@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Configuration public @interface ProjectGenerationConfiguration
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.
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.