|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.bootstrap.api.helpers.AbstractBootstrap
org.jboss.webbeans.bootstrap.WebBeansBootstrap
public class WebBeansBootstrap
Common bootstrapping functionality that is run at application startup and detects and register beans
Constructor Summary | |
---|---|
WebBeansBootstrap()
|
Method Summary | |
---|---|
protected void |
beginApplication(BeanStore applicationBeanStore)
|
protected void |
beginDeploy(BeanStore requestBeanStore)
|
void |
boot()
Starts the boot process. |
protected void |
createContexts()
|
protected void |
endDeploy(BeanStore requestBeanStore)
|
ManagerImpl |
getManager()
Get the manager used for this application. |
static java.lang.String |
getVersion()
Gets version information |
void |
initialize()
Initialize the bootstrap: Create the manager and bind it to JNDI |
protected void |
initializeContexts()
|
protected void |
registerBeans(java.lang.Iterable<java.lang.Class<?>> classes,
java.util.Collection<AnnotatedClass<?>> xmlClasses,
java.lang.Iterable<AbstractJavaEEResourceBean<?>> resourceBeans,
EjbDescriptorCache ejbDescriptors)
Register the bean with the getManager(), including any standard (built in) beans |
void |
shutdown()
Causes the container to clean up and shutdown |
Methods inherited from class org.jboss.webbeans.bootstrap.api.helpers.AbstractBootstrap |
---|
getApplicationContext, getEjbServices, getEnvironment, getResourceLoader, getServices, getTransactionServices, getWebBeanDiscovery, setApplicationContext, setEjbServices, setEnvironment, setResourceLoader, setTransactionServices, setWebBeanDiscovery, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.webbeans.bootstrap.api.Bootstrap |
---|
getServices, setApplicationContext, setEnvironment |
Constructor Detail |
---|
public WebBeansBootstrap()
Method Detail |
---|
public void initialize()
Bootstrap
initialize
in interface Bootstrap
public ManagerImpl getManager()
Bootstrap
getManager
in interface Bootstrap
Bootstrap.initialize()
has been called, this
method will return null.protected void registerBeans(java.lang.Iterable<java.lang.Class<?>> classes, java.util.Collection<AnnotatedClass<?>> xmlClasses, java.lang.Iterable<AbstractJavaEEResourceBean<?>> resourceBeans, EjbDescriptorCache ejbDescriptors)
classes
- The classes to register as Web Beanspublic void boot()
Bootstrap
Bootstrap.boot()
Bootstrap.initialize()
must have been called and the contexts should be
available
boot
in interface Bootstrap
public static java.lang.String getVersion()
protected void initializeContexts()
protected void createContexts()
protected void beginApplication(BeanStore applicationBeanStore)
protected void beginDeploy(BeanStore requestBeanStore)
protected void endDeploy(BeanStore requestBeanStore)
public void shutdown()
Bootstrap
shutdown
in interface Bootstrap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |