Package org.jboss.as.weld
Class WeldStartService
- java.lang.Object
-
- org.jboss.as.weld.WeldStartService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public class WeldStartService extends Object implements org.jboss.msc.Service
Service that actually finishes starting the weld container, after it has been bootstrapped byWeldBootstrapService- Author:
- Stuart Douglas, Richard Opalka
- See Also:
WeldStartCompletionService
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description WeldStartService(Supplier<WeldBootstrapService> bootstrapSupplier, List<org.jboss.as.server.deployment.SetupAction> setupActions, ClassLoader classLoader, org.jboss.msc.service.ServiceName deploymentServiceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)Stops the container Executed in WeldStartService to shutdown the runtime before NamingService is closed.
-
-
-
Constructor Detail
-
WeldStartService
public WeldStartService(Supplier<WeldBootstrapService> bootstrapSupplier, List<org.jboss.as.server.deployment.SetupAction> setupActions, ClassLoader classLoader, org.jboss.msc.service.ServiceName deploymentServiceName)
-
-
Method Detail
-
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
-
-