Package pro.fessional.wings.silencer.spring.boot
See: Description
-
Class Summary Class Description DeferredLogFactory Logging information is recorded before the logging system is initialized, and redirected to the logging system when ApplicationPreparedEvent. WingsSpringBeanScanner Automatically scan component from `**/spring/bean/**/*. WingsEnabledCondition disable `@Configuration`, `@Bean` and any `@Component` by properties `qualified-key` = `Prefix.` + `ClassName` + `.beanMethod`? = `true|false` - Prefix - default Prefix - 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 WingsEnabledCatConfiguration spring.catty.enabled.pro.fessional.wings.silencer.app.bean.WingsEnabledCatConfiguration.catBean=false ## disable InnerCatConfiguration and its Bean spring.catty.enabled.pro.fessional.wings.silencer.app.bean.WingsEnabledCatConfiguration$InnerCatConfiguration=false ## @Conditional(WingsEnabledCondition.class) or @ConditionalWingsEnabled ## disable @Bean dogBean in WingsEnabledDogConfiguration wings.enabled.pro.fessional.wings.silencer.app.bean.WingsEnabledDogConfiguration.dogBean=false ## disable InnerDogConfiguration and its Bean wings.enabled.pro.fessional.wings.silencer.app.bean.WingsEnabledDogConfiguration$InnerDogConfiguration=falseWingsAutoConfigProcessor Automatically load the configuration that matches `/wings-conf/*. -
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()`