Package org.jboss.as.weld
Class WeldStartService
java.lang.Object
org.jboss.as.weld.WeldStartService
- All Implemented Interfaces:
org.jboss.msc.Service
Service that actually finishes starting the weld container, after it has been bootstrapped by
WeldBootstrapService- Author:
- Stuart Douglas, Richard Opalka
- See Also:
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionWeldStartService(Supplier<WeldBootstrapService> bootstrapSupplier, List<org.jboss.as.server.deployment.SetupAction> setupActions, ClassLoader classLoader, org.jboss.msc.service.ServiceName deploymentServiceName) -
Method Summary
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
WeldStartService
public WeldStartService(Supplier<WeldBootstrapService> bootstrapSupplier, List<org.jboss.as.server.deployment.SetupAction> setupActions, ClassLoader classLoader, org.jboss.msc.service.ServiceName deploymentServiceName)
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) Stops the container Executed in WeldStartService to shutdown the runtime before NamingService is closed.- Specified by:
stopin interfaceorg.jboss.msc.Service- Throws:
IllegalStateException- if the container is not running
-