クラス MomentsAutoConfiguration
java.lang.ObjectSE
org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
@EnableScheduling
@EnableConfigurationProperties(MomentsProperties.class)
@ConditionalOnProperty(name="spring.modulith.moments.enabled",
havingValue="true",
matchIfMissing=true)
@Configuration(proxyBeanMethods=false)
class MomentsAutoConfiguration
extends ObjectSE
Moments の自動構成。- 作成者:
- Oliver Drotbohm
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明(package private) Momentsmoments(ObjectProvider<ClockSE> clockProvider, ApplicationEventPublisher events, MomentsProperties properties) (package private) TimeMachinetimeMachine(ObjectProvider<ClockSE> clockProvider, ApplicationEventPublisher events, MomentsProperties properties)
コンストラクターの詳細
MomentsAutoConfiguration
MomentsAutoConfiguration()
方法の詳細
moments
@Bean @ConditionalOnProperty(name="spring.modulith.moments.enable-time-machine", havingValue="false", matchIfMissing=true) Moments moments(ObjectProvider<ClockSE> clockProvider, ApplicationEventPublisher events, MomentsProperties properties) timeMachine
@Bean @ConditionalOnProperty(name="spring.modulith.moments.enable-time-machine", havingValue="true", matchIfMissing=false) TimeMachine timeMachine(ObjectProvider<ClockSE> clockProvider, ApplicationEventPublisher events, MomentsProperties properties)