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.
Modifier and Type | Field and Description |
---|---|
protected org.jboss.msc.service.ServiceTarget |
childTarget |
Constructor and Description |
---|
ProcessApplicationModuleService() |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceTarget |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public org.jboss.msc.service.ServiceTarget getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<org.jboss.msc.service.ServiceTarget>
IllegalStateException
IllegalArgumentException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.Service
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.Service
Copyright © 2022. All rights reserved.