org.jboss.webbeans.bootstrap.api.helpers
Class AbstractBootstrap

java.lang.Object
  extended by org.jboss.webbeans.bootstrap.api.helpers.AbstractBootstrap
All Implemented Interfaces:
Bootstrap
Direct Known Subclasses:
WebBeansBootstrap

public abstract class AbstractBootstrap
extends java.lang.Object
implements Bootstrap

A common implementation of Bootstrap. Not threadsafe

Author:
Pete Muir

Constructor Summary
AbstractBootstrap()
           
 
Method Summary
 BeanStore getApplicationContext()
           
 EjbServices getEjbServices()
          Deprecated. 
 Environment getEnvironment()
           
 ResourceLoader getResourceLoader()
          Deprecated. 
 ServiceRegistry getServices()
          Get the services available to this bootstrap
 TransactionServices getTransactionServices()
          Deprecated. 
 WebBeanDiscovery getWebBeanDiscovery()
          Deprecated. 
 void setApplicationContext(BeanStore applicationContext)
          Set the bean store to use as backing for the application context
 void setEjbServices(EjbServices ejbServices)
          Deprecated. 
 void setEnvironment(Environment environment)
          Set the environment in use, by default Environments.EE
 void setResourceLoader(ResourceLoader resourceLoader)
          Deprecated. 
 void setTransactionServices(TransactionServices transactionServices)
          Deprecated. 
 void setWebBeanDiscovery(WebBeanDiscovery webBeanDiscovery)
          Deprecated. 
protected  void 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
boot, getManager, initialize, shutdown
 

Constructor Detail

AbstractBootstrap

public AbstractBootstrap()
Method Detail

setEjbServices

@Deprecated
public void setEjbServices(EjbServices ejbServices)
Deprecated. 


setResourceLoader

@Deprecated
public void setResourceLoader(ResourceLoader resourceLoader)
Deprecated. 


setWebBeanDiscovery

@Deprecated
public void setWebBeanDiscovery(WebBeanDiscovery webBeanDiscovery)
Deprecated. 


setTransactionServices

@Deprecated
public void setTransactionServices(TransactionServices transactionServices)
Deprecated. 


getWebBeanDiscovery

@Deprecated
public WebBeanDiscovery getWebBeanDiscovery()
Deprecated. 


getResourceLoader

@Deprecated
public ResourceLoader getResourceLoader()
Deprecated. 


getEjbServices

@Deprecated
public EjbServices getEjbServices()
Deprecated. 


getTransactionServices

@Deprecated
public TransactionServices getTransactionServices()
Deprecated. 


getApplicationContext

public BeanStore getApplicationContext()

setApplicationContext

public void setApplicationContext(BeanStore applicationContext)
Description copied from interface: Bootstrap
Set the bean store to use as backing for the application context

Specified by:
setApplicationContext in interface Bootstrap
Parameters:
applicationContext - the bean store to use

getEnvironment

public Environment getEnvironment()

setEnvironment

public void setEnvironment(Environment environment)
Description copied from interface: Bootstrap
Set the environment in use, by default Environments.EE

Specified by:
setEnvironment in interface Bootstrap
Parameters:
environment - the environment to use

verify

protected void verify()

getServices

public ServiceRegistry getServices()
Description copied from interface: Bootstrap
Get the services available to this bootstrap

Specified by:
getServices in interface Bootstrap
Returns:
the services available


Copyright © 2011. All Rights Reserved.