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 |->| []

printBanner

Source

abstract Str printBanner()

Returns the Alien-Factory banner.

printServiceList

Source

abstract Str printServiceList()

Returns a printed list of all the registry services and their lifecycle status.