|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Bootstrap
Bootstrap API for Web Beans.
Method Summary | |
---|---|
void |
boot()
Starts the boot process. |
WebBeansManager |
getManager()
Get the manager used for this application. |
ServiceRegistry |
getServices()
Get the services available to this bootstrap |
void |
initialize()
Initialize the bootstrap: Create the manager and bind it to JNDI |
void |
setApplicationContext(BeanStore beanStore)
Set the bean store to use as backing for the application context |
void |
setEnvironment(Environment environment)
Set the environment in use, by default Environments.EE |
void |
shutdown()
Causes the container to clean up and shutdown |
Method Detail |
---|
void setApplicationContext(BeanStore beanStore)
beanStore
- the bean store to usevoid setEnvironment(Environment environment)
Environments.EE
environment
- the environment to usevoid initialize()
java.lang.IllegalStateException
- if not all the services required for the given environment are
availableWebBeansManager getManager()
initialize()
has been called, this
method will return null.void boot()
boot()
initialize()
must have been called and the contexts should be
available
void shutdown()
ServiceRegistry getServices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |