Class ProcessApplicationModuleService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<org.jboss.msc.service.ServiceTarget>, org.jboss.msc.value.Value<org.jboss.msc.service.ServiceTarget>

    public class ProcessApplicationModuleService
    extends Object
    implements org.jboss.msc.service.Service<org.jboss.msc.service.ServiceTarget>

    Service installed for a process application module

    This service is used as a "root" service for all services installed by a process application deployment, be it from a DeploymentProcessor or at Runtime. As this service is installed as a child service on the deployment unit, it is guaranteed that the undeployment operation removes all services installed by the process application.

    Author:
    Daniel Meyer
    • Field Detail

      • childTarget

        protected org.jboss.msc.service.ServiceTarget childTarget
    • Constructor Detail

      • ProcessApplicationModuleService

        public ProcessApplicationModuleService()
    • 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
        Specified by:
        start in interface org.jboss.msc.service.Service<org.jboss.msc.service.ServiceTarget>
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
        Specified by:
        stop in interface org.jboss.msc.service.Service<org.jboss.msc.service.ServiceTarget>