クラス 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) Moments
moments
(ObjectProvider<ClockSE> clockProvider, ApplicationEventPublisher events, MomentsProperties properties) (package private) TimeMachine
timeMachine
(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)