Class WeldStartService

    • Field Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • 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:
        start in interface org.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:
        stop in interface org.jboss.msc.Service
        Throws:
        IllegalStateException - if the container is not running