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(OrderedConfig conf, MyService myService) {
        conf.add |->| { myService.startup() }
    }
}

@uses OrderedConfig of |->|