nfrankel
05/13/2018, 5:31 PMnfrankel
05/13/2018, 5:31 PMuser
05/14/2018, 2:33 AMuser
05/14/2018, 2:39 AMnfrankel
05/14/2018, 2:43 AMPostProcessor
interact with beans().initialize()
?
(from what i see, not at all)
and how can i do it manually?
😄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.sdeleuze
05/14/2018, 8:35 AMrepositories(package="foo.bar")
could be a useful exercise.sdeleuze
05/14/2018, 8:35 AMnfrankel
05/14/2018, 9:08 AMvisakha
05/15/2018, 3:27 AMvisakha
05/15/2018, 3:52 AMvisakha
05/15/2018, 3:52 AMfun wrapper_updateUserIdDefault(cbPartyXref: CBPartyXref): String {
Metrics.timer("KoolMethod").record(...)
}
jasper
05/16/2018, 6:08 AMjasper
05/16/2018, 6:08 AMjasper
05/16/2018, 6:08 AMfitzoh
05/16/2018, 11:07 AMsdeleuze
05/16/2018, 2:46 PMsdeleuze
05/16/2018, 2:47 PMfitzoh
05/16/2018, 2:48 PMMichael
05/16/2018, 6:33 PMfitzoh
05/16/2018, 6:47 PMfitzoh
05/16/2018, 6:48 PMfitzoh
05/16/2018, 6:48 PMMichael
05/16/2018, 6:55 PMMichael
05/16/2018, 6:55 PMMichael
05/16/2018, 7:01 PMvisakha
05/18/2018, 1:06 PMvisakha
05/18/2018, 1:16 PMI want to test db related services and therefore I want activate and inject config defined in com.abc.config.db only
how to do that