/*
* TODO: should the Container producer some how be automatically registered ?
* Or should we just 'know' who is the first one to create the context
*/
containerProducer.set(container);
DeployableContainer deployable = container.getDeployableContainer();
injector.get().inject(deployable);
event.fire(new BeforeSetup(deployable));
deployable.setup(container.createDeployableConfiguration());
event.fire(new AfterSetup(deployable));
}
});
}