|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap
public abstract class ForwardingBootstrap
Implementation of Bootstrap which supports the decorator pattern
| Constructor Summary | |
|---|---|
ForwardingBootstrap()
|
|
| Method Summary | |
|---|---|
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(java.lang.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,
BeanStore beanStore)
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 |
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. |
java.lang.String |
toString()
|
Bootstrap |
validateBeans()
Validates the deployment. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingBootstrap()
| Method Detail |
|---|
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,
BeanStore beanStore)
Bootstrap
startContainer in interface Bootstrapenvironment - the environment in use, by default
Environments.EEdeployment - the Deployment to be bootedbeanStore - the bean store to use as backing for the application
contextpublic void shutdown()
BootstrapBeforeShutdown event is fired
shutdown in interface Bootstrappublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Bootstrap deployBeans()
BootstrapAfterBeanDiscovery is event is fired
deployBeans in interface Bootstrappublic Bootstrap endInitialization()
Bootstrap
endInitialization in interface Bootstrappublic Bootstrap startInitialization()
BootstrapDeployment serviceBootstrap.endInitialization() is calledExtension service providersBeforeBeanDiscovery event is fired.
startInitialization in interface Bootstrappublic Bootstrap validateBeans()
BootstrapAfterDeploymentValidation event is fired
validateBeans in interface Bootstrap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||