Package pro.fessional.wings.silencer.spring.boot
See: Description
-
Annotation Summary Annotation Description ConditionalWingsEnabled enhanced `@Conditional(WingsEnabledCondition.class)` to dynamically disable `@Configuration`, `@Bean` and `@Component` by properties. `true` only if `this && and1 && and2 && !not1 && !not2` the key priority from high to low - qualified-key = `prefix` + `ClassName` + `methodName`? - absolute-key = `abs()` - relative-key = `prefix` + `key()` - default = `value()` -
Class Summary Class Description WingsAutoConfigProcessor Automatically load the configuration that matches `/wings-conf/*. WingsEnabledContext enabled override feature i.e. WingsSpringBeanScanner Automatically scan component from `**/spring/bean/**/*. DeferredLogFactory Logging information is recorded before the logging system is initialized, and redirected to the logging system when ApplicationPreparedEvent. WingsEnabledCondition disable `@Configuration`, `@Bean` and any `@Component` by properties, enabled by default. `qualified-key` = `Prefix.` + `ClassName` + `.beanMethod`? = `true|false` - Prefix - default PrefixEnabled - ClassName - getName eg. pro.fessional.wings.silencer.spring.bean.SilencerConfiguration - beanMethod - getName eg. applicationInspectRunner #example properties: ## @ConditionalWingsEnabled(prefix="spring.catty.enabled") ## disable @Bean catBean in TestEnabledCatConfiguration spring.catty.enabled.pro.fessional.wings.silencer.app.bean.TestEnabledCatConfiguration.catBean=false ## disable InnerCatConfiguration and its Bean spring.catty.enabled.pro.fessional.wings.silencer.app.bean.TestEnabledCatConfiguration$InnerCatConfiguration=false ## @Conditional(WingsEnabledCondition.class) or @ConditionalWingsEnabled ## disable @Bean dogBean in TestEnabledDogConfiguration wings.enabled.pro.fessional.wings.silencer.app.bean.TestEnabledDogConfiguration.dogBean=false ## disable InnerDogConfiguration and its Bean wings.enabled.pro.fessional.wings.silencer.app.bean.TestEnabledDogConfiguration$InnerDogConfiguration=falseWingsReorderProcessor (@Order | @Priority) >Ordered.