|
||||||||||
| 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. |
Deployment |
getDeployment()
|
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()
|
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 |
setDeployment(Deployment deployment)
|
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 |
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 setDeployment(Deployment deployment)
public Deployment getDeployment()
public void setTransactionServices(TransactionServices transactionServices)
public TransactionServices getTransactionServices()
public void setApplicationContext(BeanStore applicationContext)
Bootstrap
setApplicationContext in interface BootstrapapplicationContext - 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()
BootstrapBootstrap.boot()
Bootstrap.initialize() must have been called and the contexts should be
available
boot in interface Bootstrappublic WebBeansManager getManager()
Bootstrap
getManager in interface BootstrapBootstrap.initialize() has been called, this
method will return null.public ServiceRegistry getServices()
Bootstrap
getServices in interface Bootstrappublic void initialize()
Bootstrap
initialize in interface Bootstrappublic void setEnvironment(Environment environment)
BootstrapEnvironments.EE
setEnvironment in interface Bootstrapenvironment - 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 | |||||||||