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 this 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, wait
loadExtensions, parse, parse
protected abstract Bootstrap delegate()
public WeldManager getManager(BeanDeploymentArchive beanDeploymentArchive)
Bootstrap
#startContainer()
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 Bootstrap
public Bootstrap startContainer(Environment environment, Deployment deployment)
Bootstrap
startContainer
in interface Bootstrap
environment
- the environment in use, by default
Environments.EE
deployment
- the Deployment to be bootedpublic void shutdown()
Bootstrap
BeforeShutdown
event is firedpublic Bootstrap deployBeans()
Bootstrap
AfterBeanDiscovery
is event is fireddeployBeans
in interface Bootstrap
public Bootstrap endInitialization()
Bootstrap
endInitialization
in interface Bootstrap
public Bootstrap startInitialization()
Bootstrap
Deployment
serviceBootstrap.endInitialization()
is calledExtension
service providersBeforeBeanDiscovery
event is fired.startInitialization
in interface Bootstrap
public Bootstrap validateBeans()
Bootstrap
AfterDeploymentValidation
event is firedvalidateBeans
in interface Bootstrap
Copyright © 2012 Seam Framework. All Rights Reserved.