const mixinafIoc::RegistryStartup
afIoc::RegistryStartup
(Service) - Contribute functions to be executed on Registry startup.
Functions for registry startup need not be immutable.
Example usage:
class AppModule {
@Contribute { serviceType=RegistryStartup# }
static Void contributeRegistryStartup(Configuration conf, MyService myService) {
conf.add |->| { myService.startup() }
}
}
@uses Configuration of |->| []