sdeleuze
05/14/2018, 8:33 AM@Scheduled
annotations and BeanPostProcessor
, the functional bean DSL does nothing magic except registering bean definitions so it depends about the kind of application context you are using (AnnotationConfigApplicationContext
versus GenericApplicationContext
for example). Post processors should be called during refresh()
but depending on what you are trying to achieve you may be missing some infra, for example MongoRepositoryFactoryBean
for Spring Data Mongo support. It may be interesting to work on some functional construct equivalents to <repositories base-package="com.acme.repositories" />
to make that easier. The functional DSL is composable (see https://github.com/tgirard12/spring-webflux-kotlin-dsl) so it should be doable.