logger.log(level, "Startup class : {0}", getClass().getName());
}
// prepare the global variables
DynamicConfigurationService dcs = locator.getService(DynamicConfigurationService.class);
DynamicConfiguration config = dcs.createDynamicConfiguration();
config.addActiveDescriptor(BuilderHelper.createConstantDescriptor(this));
config.addActiveDescriptor(BuilderHelper.createConstantDescriptor(masterListener));
config.addActiveDescriptor(BuilderHelper.createConstantDescriptor(logger));
config.addUnbindFilter(BuilderHelper.createContractFilter(ProcessEnvironment.class.getName()));
config.addActiveDescriptor(BuilderHelper.createConstantDescriptor(
env.isEmbedded() ?
new ProcessEnvironment(ProcessEnvironment.ProcessType.Embedded):
new ProcessEnvironment(ProcessEnvironment.ProcessType.Server)));
config.commit();
// activate the run level services
if (proceedTo(InitRunLevel.VAL, new InitActivator())) {
if (proceedTo(StartupRunLevel.VAL, new StartupActivator())) {
proceedTo(PostStartupRunLevel.VAL, new PostStartupActivator());