Package org.jboss.weld.bootstrap
Class WeldStartup
- java.lang.Object
-
- org.jboss.weld.bootstrap.WeldStartup
-
public class WeldStartup extends Object
Common bootstrapping functionality that is run at application startup and detects and register beans- Author:
- Pete Muir, Ales Justin, Marko Luksa
-
-
Constructor Summary
Constructors Constructor Description WeldStartup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<ContextHolder<? extends jakarta.enterprise.context.spi.Context>>
createContexts(org.jboss.weld.bootstrap.api.ServiceRegistry services)
void
deployBeans()
void
endInitialization()
WeldRuntime
startContainer(String contextId, org.jboss.weld.bootstrap.api.Environment environment, org.jboss.weld.bootstrap.spi.Deployment deployment)
org.jboss.weld.bootstrap.api.TypeDiscoveryConfiguration
startExtensions(Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions)
void
startInitialization()
void
validateBeans()
protected static void
verifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services, Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices, Object target)
-
-
-
Method Detail
-
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
protected static void verifyServices(org.jboss.weld.bootstrap.api.ServiceRegistry services, Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> requiredServices, Object target)
-
startExtensions
public org.jboss.weld.bootstrap.api.TypeDiscoveryConfiguration startExtensions(Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions)
-
-