org.jboss.weld.bootstrap
Class WeldBootstrap

java.lang.Object
  extended by org.jboss.weld.bootstrap.WeldBootstrap
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Bootstrap

public class WeldBootstrap
extends java.lang.Object
implements org.jboss.weld.bootstrap.api.Bootstrap

Common bootstrapping functionality that is run at application startup and detects and register beans

Author:
Pete Muir

Constructor Summary
WeldBootstrap()
           
 
Method Summary
protected  void createContexts()
           
 org.jboss.weld.bootstrap.api.Bootstrap deployBeans()
           
 org.jboss.weld.bootstrap.api.Bootstrap endInitialization()
           
 BeanManagerImpl getManager(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanDeploymentArchive)
           
static java.lang.String getVersion()
          Gets version information
protected  void initializeContexts()
           
 void shutdown()
           
 org.jboss.weld.bootstrap.api.Bootstrap startContainer(org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment, org.jboss.weld.context.api.BeanStore applicationBeanStore)
           
 org.jboss.weld.bootstrap.api.Bootstrap startInitialization()
           
 org.jboss.weld.bootstrap.api.Bootstrap validateBeans()
           
protected static void verifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services, java.util.Set<java.lang.Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeldBootstrap

public WeldBootstrap()
Method Detail

startContainer

public org.jboss.weld.bootstrap.api.Bootstrap startContainer(org.jboss.weld.bootstrap.api.Environment environment,
                                                             org.jboss.weld.bootstrap.spi.Deployment deployment,
                                                             org.jboss.weld.context.api.BeanStore applicationBeanStore)
Specified by:
startContainer in interface org.jboss.weld.bootstrap.api.Bootstrap

getManager

public BeanManagerImpl getManager(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanDeploymentArchive)
Specified by:
getManager in interface org.jboss.weld.bootstrap.api.Bootstrap

startInitialization

public org.jboss.weld.bootstrap.api.Bootstrap startInitialization()
Specified by:
startInitialization in interface org.jboss.weld.bootstrap.api.Bootstrap

deployBeans

public org.jboss.weld.bootstrap.api.Bootstrap deployBeans()
Specified by:
deployBeans in interface org.jboss.weld.bootstrap.api.Bootstrap

validateBeans

public org.jboss.weld.bootstrap.api.Bootstrap validateBeans()
Specified by:
validateBeans in interface org.jboss.weld.bootstrap.api.Bootstrap

endInitialization

public org.jboss.weld.bootstrap.api.Bootstrap endInitialization()
Specified by:
endInitialization in interface org.jboss.weld.bootstrap.api.Bootstrap

getVersion

public static java.lang.String getVersion()
Gets version information

Returns:
The implementation version from the Bootstrap class package.

initializeContexts

protected void initializeContexts()

createContexts

protected void createContexts()

shutdown

public void shutdown()
Specified by:
shutdown in interface org.jboss.weld.bootstrap.api.Bootstrap

verifyServices

protected static void verifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services,
                                     java.util.Set<java.lang.Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices)


Copyright © 2008-2009 Seam Framework. All Rights Reserved.