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 java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected org.jboss.msc.service.ServiceTarget childTarget  
      • Fields inherited from interface org.jboss.msc.service.Service

        NULL, NULL_VALUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jboss.msc.service.ServiceTarget getValue()  
      void start​(org.jboss.msc.service.StartContext context)  
      void stop​(org.jboss.msc.service.StopContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • childTarget

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

      • ProcessApplicationModuleService

        public ProcessApplicationModuleService()
    • Method Detail

      • getValue

        public org.jboss.msc.service.ServiceTarget getValue()
                                                     throws java.lang.IllegalStateException,
                                                            java.lang.IllegalArgumentException
        Specified by:
        getValue in interface org.jboss.msc.value.Value<org.jboss.msc.service.ServiceTarget>
        Throws:
        java.lang.IllegalStateException
        java.lang.IllegalArgumentException
      • 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>