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
Modifier and TypeFieldDescriptionprotected org.jboss.msc.service.ServiceTarget
protected Consumer<ProcessApplicationModuleService>
Fields inherited from interface org.jboss.msc.service.Service
NULL
-
Constructor Summary
ConstructorDescription -
Method Summary
-
Field Details
-
childTarget
protected org.jboss.msc.service.ServiceTarget childTarget -
provider
-
-
Constructor Details
-
ProcessApplicationModuleService
-
-
Method Details
-
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
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stop
in interfaceorg.jboss.msc.Service
-