Package org.jboss.weld.bootstrap
Class WeldStartup
java.lang.Object
org.jboss.weld.bootstrap.WeldStartup
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 TypeMethodDescriptionprotected Collection<ContextHolder<? extends jakarta.enterprise.context.spi.Context>>createContexts(org.jboss.weld.bootstrap.api.ServiceRegistry services) voidvoidstartContainer(String contextId, 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) voidvoidprotected static voidverifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services, Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices, Object target)
-
Constructor Details
-
WeldStartup
public WeldStartup()
-
-
Method Details
-
startContainer
public WeldRuntime startContainer(String contextId, org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment) -
startInitialization
public void startInitialization() -
deployBeans
public void deployBeans() -
validateBeans
public void validateBeans() -
endInitialization
public void endInitialization() -
createContexts
protected Collection<ContextHolder<? extends jakarta.enterprise.context.spi.Context>> createContexts(org.jboss.weld.bootstrap.api.ServiceRegistry services) -
verifyServices
-
startExtensions
public org.jboss.weld.bootstrap.api.TypeDiscoveryConfiguration startExtensions(Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions)
-