| Constructor and Description |
|---|
ForwardingBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Bootstrap |
delegate() |
Bootstrap |
deployBeans()
Creates and deploys the application's beans:
Creates and deploys the discovered beans
Creates and deploys the built-in beans defined by the CDI specification
Finally the
AfterBeanDiscovery is event is fired |
Bootstrap |
endInitialization()
Cleans up after the initialization
|
boolean |
equals(Object obj) |
WeldManager |
getManager(BeanDeploymentArchive beanDeploymentArchive)
Get the manager used for the given beanDeploymentArchive.
|
int |
hashCode() |
void |
shutdown()
Causes the container to clean up and shutdown
Before the contain is shutdown the
BeforeShutdown event is fired |
Bootstrap |
startContainer(Environment environment,
Deployment deployment)
Creates the application container:
Checks that the services required by the environment have been provided
Adds container provided services
Creates and initializes the built in contexts
Creates the manager
context
|
Bootstrap |
startInitialization()
Starts the application container initialization process:
Reads metadata from beans.xml and the
Deployment service
Starts the application context
Starts the request context which lasts until Bootstrap.endInitialization() is called
Discovers and creates Extension service providers
Finally, the BeforeBeanDiscovery event is fired. |
String |
toString() |
Bootstrap |
validateBeans()
Validates the deployment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitloadExtensions, parse, parse, parseprotected abstract Bootstrap delegate()
public WeldManager getManager(BeanDeploymentArchive beanDeploymentArchive)
BootstrapBootstrap.startContainer(Environment, Deployment) has not been called, this method will return null.
If the beanDeploymentArchive is not known to Weld (for example, it was not passed to the Weld as part of the
Deployment, or has not yet been requested by Deployment.loadBeanDeploymentArchive(Class)), null will be
returned.getManager in interface BootstrapbeanDeploymentArchive - the given beanDeploymentArchivepublic Bootstrap startContainer(Environment environment, Deployment deployment)
BootstrapstartContainer in interface Bootstrapenvironment - the environment in use, by default Environments.EEdeployment - the Deployment to be bootedpublic void shutdown()
BootstrapBeforeShutdown event is firedpublic Bootstrap deployBeans()
BootstrapAfterBeanDiscovery is event is fireddeployBeans in interface Bootstrappublic Bootstrap endInitialization()
BootstrapendInitialization in interface Bootstrappublic Bootstrap startInitialization()
BootstrapDeployment serviceBootstrap.endInitialization() is calledExtension service providersBeforeBeanDiscovery event is fired.startInitialization in interface Bootstrappublic Bootstrap validateBeans()
BootstrapAfterDeploymentValidation event is firedvalidateBeans in interface BootstrapCopyright © 2008-2015. All Rights Reserved.