const mixinafIoc::RegistryStartup

afIoc::RegistryStartup

Executes a series of (user defined) operations when the Registry starts up. Operations are defined by contributing listeners to the RegistryStartup service. For example, add the following to your module:

@Contribute
static Void contributeRegistryStartup(OrderedConfig config, MyService myService) {
  config.addUnordered |->| {
    myService.startup()
  }
}

@uses OrderedConfig of |->|