Package org.jboss.weld.bootstrap
Class WeldBootstrap
java.lang.Object
org.jboss.weld.bootstrap.WeldBootstrap
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Bootstrap,org.jboss.weld.bootstrap.api.CDI11Bootstrap
Common bootstrapping functionality that is run at application startup and
detects and register beans
- Author:
- Pete Muir, Ales Justin, Marko Luksa
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.weld.bootstrap.api.Bootstraporg.jboss.weld.bootstrap.api.BootstrapgetManager(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanDeploymentArchive) Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>>loadExtensions(ClassLoader classLoader) org.jboss.weld.bootstrap.spi.BeansXmlorg.jboss.weld.bootstrap.spi.BeansXmlorg.jboss.weld.bootstrap.spi.BeansXmlparse(Iterable<URL> urls, boolean removeDuplicates, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) org.jboss.weld.bootstrap.spi.BeansXmlparse(Iterable<URL> urls, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) org.jboss.weld.bootstrap.spi.BeansXmlorg.jboss.weld.bootstrap.spi.BeansXmlvoidshutdown()org.jboss.weld.bootstrap.api.BootstrapstartContainer(String contextId, org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment) org.jboss.weld.bootstrap.api.BootstrapstartContainer(org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment) org.jboss.weld.bootstrap.api.TypeDiscoveryConfigurationstartExtensions(Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions) org.jboss.weld.bootstrap.api.Bootstraporg.jboss.weld.bootstrap.api.Bootstrap
-
Constructor Details
-
WeldBootstrap
public WeldBootstrap()
-
-
Method Details
-
startExtensions
public org.jboss.weld.bootstrap.api.TypeDiscoveryConfiguration startExtensions(Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions) - Specified by:
startExtensionsin interfaceorg.jboss.weld.bootstrap.api.CDI11Bootstrap
-
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:
startContainerin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
startContainer
public org.jboss.weld.bootstrap.api.Bootstrap startContainer(String contextId, org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment) - Specified by:
startContainerin interfaceorg.jboss.weld.bootstrap.api.CDI11Bootstrap
-
startInitialization
public org.jboss.weld.bootstrap.api.Bootstrap startInitialization()- Specified by:
startInitializationin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
deployBeans
public org.jboss.weld.bootstrap.api.Bootstrap deployBeans()- Specified by:
deployBeansin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
validateBeans
public org.jboss.weld.bootstrap.api.Bootstrap validateBeans()- Specified by:
validateBeansin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
endInitialization
public org.jboss.weld.bootstrap.api.Bootstrap endInitialization()- Specified by:
endInitializationin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
getManager
public BeanManagerImpl getManager(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanDeploymentArchive) - Specified by:
getManagerin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
- Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
- Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
- Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
public org.jboss.weld.bootstrap.spi.BeansXml parse(URL url, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) - Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
public org.jboss.weld.bootstrap.spi.BeansXml parse(Iterable<URL> urls, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) - Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
parse
public org.jboss.weld.bootstrap.spi.BeansXml parse(Iterable<URL> urls, boolean removeDuplicates, org.jboss.weld.bootstrap.spi.BeanDiscoveryMode emptyBeansXmlDiscoveryMode) - Specified by:
parsein interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-
loadExtensions
public Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> loadExtensions(ClassLoader classLoader) - Specified by:
loadExtensionsin interfaceorg.jboss.weld.bootstrap.api.Bootstrap
-