Class ProcessApplicationModuleService
- java.lang.Object
-
- org.camunda.bpm.container.impl.jboss.service.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 Summary
Fields Modifier and Type Field Description protected org.jboss.msc.service.ServiceTarget
childTarget
-
Constructor Summary
Constructors Constructor Description ProcessApplicationModuleService()
-
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)
-
-
-
Method Detail
-
getValue
public org.jboss.msc.service.ServiceTarget getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValue
in interfaceorg.jboss.msc.value.Value<org.jboss.msc.service.ServiceTarget>
- Throws:
IllegalStateException
IllegalArgumentException
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Specified by:
start
in interfaceorg.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 interfaceorg.jboss.msc.Service
- Specified by:
stop
in interfaceorg.jboss.msc.service.Service<org.jboss.msc.service.ServiceTarget>
-
-