Class AbstractDeploymentUnitService

    • 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<DeploymentUnit>
        Throws:
        org.jboss.msc.service.StartException
      • createAndInitializeDeploymentUnit

        protected abstract DeploymentUnit createAndInitializeDeploymentUnit​(org.jboss.msc.service.ServiceRegistry registry)
        Template method required for implementations to create and fully initialize a deployment unit instance. This method should be used to attach any initial deployment unit attachments required for the deployment type.
        Parameters:
        registry - The service registry
        Returns:
        An initialized DeploymentUnit instance
      • 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<DeploymentUnit>