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 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, Ales Justin

Constructor Summary
WeldBootstrap()
           
 
Method Summary
protected  Collection<ContextHolder<? extends javax.enterprise.context.spi.Context>> createContexts(org.jboss.weld.bootstrap.api.ServiceRegistry services)
           
 org.jboss.weld.bootstrap.api.Bootstrap deployBeans()
           
 org.jboss.weld.bootstrap.api.Bootstrap endInitialization()
           
 BeanManagerImpl getManager(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanDeploymentArchive)
           
 Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> loadExtensions(ClassLoader classLoader)
           
 org.jboss.weld.bootstrap.spi.BeansXml parse(Iterable<URL> urls)
           
 org.jboss.weld.bootstrap.spi.BeansXml parse(URL url)
           
 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.bootstrap.api.Bootstrap startInitialization()
           
 org.jboss.weld.bootstrap.api.Bootstrap validateBeans()
           
protected static void verifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services, Set<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)
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

createContexts

protected Collection<ContextHolder<? extends javax.enterprise.context.spi.Context>> createContexts(org.jboss.weld.bootstrap.api.ServiceRegistry services)

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,
                                     Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices)

parse

public org.jboss.weld.bootstrap.spi.BeansXml parse(Iterable<URL> urls)
Specified by:
parse in interface org.jboss.weld.bootstrap.api.Bootstrap

parse

public org.jboss.weld.bootstrap.spi.BeansXml parse(URL url)
Specified by:
parse in interface org.jboss.weld.bootstrap.api.Bootstrap

loadExtensions

public Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> loadExtensions(ClassLoader classLoader)
Specified by:
loadExtensions in interface org.jboss.weld.bootstrap.api.Bootstrap


Copyright © 2013 Seam Framework. All Rights Reserved.