|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.bootstrap.api.helpers.BootstrapBean
public class BootstrapBean
A bean version of bootstrap that delegates to the underlying bootstrap impl
Constructor Summary | |
---|---|
BootstrapBean(Bootstrap bootstrap)
|
Method Summary | |
---|---|
void |
boot()
Starts the boot process. |
EjbServices |
getEjbServices()
|
JmsServices |
getJmsServices()
|
JpaServices |
getJpaServices()
|
WebBeansManager |
getManager()
Get the manager used for this application. |
ResourceLoader |
getResourceLoader()
|
ResourceServices |
getResourceServices()
|
ServiceRegistry |
getServices()
Get the services available to this bootstrap |
TransactionServices |
getTransactionServices()
|
WebBeanDiscovery |
getWebBeanDiscovery()
|
WebServices |
getWebServices()
|
void |
initialize()
Initialize the bootstrap: Create the manager and bind it to JNDI |
void |
setApplicationContext(BeanStore applicationContext)
Set the bean store to use as backing for the application context |
void |
setEjbServices(EjbServices ejbServices)
|
void |
setEnvironment(Environment environment)
Set the environment in use, by default Environments.EE |
void |
setJmsServices(JmsServices jmsServices)
|
void |
setJpaServices(JpaServices jpaServices)
|
void |
setResourceLoader(ResourceLoader resourceLoader)
|
void |
setResourceServices(ResourceServices resourceServices)
|
void |
setTransactionServices(TransactionServices transactionServices)
|
void |
setWebBeanDiscovery(WebBeanDiscovery webBeanDiscovery)
|
void |
setWebServices(WebServices webServices)
|
void |
shutdown()
Causes the container to clean up and shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootstrapBean(Bootstrap bootstrap)
Method Detail |
---|
public void setEjbServices(EjbServices ejbServices)
public EjbServices getEjbServices()
public void setJpaServices(JpaServices jpaServices)
public JpaServices getJpaServices()
public ResourceServices getResourceServices()
public void setResourceServices(ResourceServices resourceServices)
public void setWebBeanDiscovery(WebBeanDiscovery webBeanDiscovery)
public WebBeanDiscovery getWebBeanDiscovery()
public void setTransactionServices(TransactionServices transactionServices)
public TransactionServices getTransactionServices()
public void setApplicationContext(BeanStore applicationContext)
Bootstrap
setApplicationContext
in interface Bootstrap
applicationContext
- the bean store to usepublic void setResourceLoader(ResourceLoader resourceLoader)
public ResourceLoader getResourceLoader()
public WebServices getWebServices()
public void setWebServices(WebServices webServices)
public JmsServices getJmsServices()
public void setJmsServices(JmsServices jmsServices)
public void boot()
Bootstrap
Bootstrap.boot()
Bootstrap.initialize()
must have been called and the contexts should be
available
boot
in interface Bootstrap
public WebBeansManager getManager()
Bootstrap
getManager
in interface Bootstrap
Bootstrap.initialize()
has been called, this
method will return null.public ServiceRegistry getServices()
Bootstrap
getServices
in interface Bootstrap
public void initialize()
Bootstrap
initialize
in interface Bootstrap
public void setEnvironment(Environment environment)
Bootstrap
Environments.EE
setEnvironment
in interface Bootstrap
environment
- the environment to usepublic void shutdown()
Bootstrap
shutdown
in interface Bootstrap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |