|
||||||||||
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.weld.bootstrap.api.Bootstrap |
---|
loadExtensions, parse, parse |
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)
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 fired
shutdown
in interface Bootstrap
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Bootstrap deployBeans()
Bootstrap
AfterBeanDiscovery
is event is fired
deployBeans
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 fired
validateBeans
in interface Bootstrap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |