public abstract class AbstractDeploymentUnitService extends Object implements org.jboss.msc.service.Service<DeploymentUnit>
DeploymentUnit.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDeploymentUnitService.DeploymentStatus |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DeploymentUnit |
createAndInitializeDeploymentUnit(org.jboss.msc.service.ServiceRegistry registry)
Template method required for implementations to create and fully initialize a deployment unit instance.
|
AbstractDeploymentUnitService.DeploymentStatus |
getStatus() |
DeploymentUnit |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<DeploymentUnit>org.jboss.msc.service.StartExceptionprotected abstract DeploymentUnit createAndInitializeDeploymentUnit(org.jboss.msc.service.ServiceRegistry registry)
registry - The service registrypublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<DeploymentUnit>public DeploymentUnit getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<DeploymentUnit>IllegalStateExceptionIllegalArgumentExceptionpublic AbstractDeploymentUnitService.DeploymentStatus getStatus()
Copyright © 2016 JBoss by Red Hat. All rights reserved.