Package org.jboss.as.server.deployment
Class SubDeploymentUnitService
- java.lang.Object
-
- org.jboss.as.server.deployment.AbstractDeploymentUnitService
-
- org.jboss.as.server.deployment.SubDeploymentUnitService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<DeploymentUnit>,org.jboss.msc.value.Value<DeploymentUnit>
public class SubDeploymentUnitService extends AbstractDeploymentUnitService
Service responsible for installing the correct services to install aDeploymentUnit.- Author:
- John Bailey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.server.deployment.AbstractDeploymentUnitService
AbstractDeploymentUnitService.DeploymentStatus
-
-
Constructor Summary
Constructors Constructor Description SubDeploymentUnitService(ResourceRoot deploymentRoot, DeploymentUnit parent, ImmutableManagementResourceRegistration registration, ManagementResourceRegistration mutableRegistration, Resource resource, CapabilityServiceSupport capabilityServiceSupport, PathManager pathManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DeploymentUnitcreateAndInitializeDeploymentUnit(org.jboss.msc.service.ServiceRegistry registry)Template method required for implementations to create and fully initialize a deployment unit instance.-
Methods inherited from class org.jboss.as.server.deployment.AbstractDeploymentUnitService
getStatus, getValue, start, stop
-
-
-
-
Constructor Detail
-
SubDeploymentUnitService
public SubDeploymentUnitService(ResourceRoot deploymentRoot, DeploymentUnit parent, ImmutableManagementResourceRegistration registration, ManagementResourceRegistration mutableRegistration, Resource resource, CapabilityServiceSupport capabilityServiceSupport, PathManager pathManager)
-
-
Method Detail
-
createAndInitializeDeploymentUnit
protected DeploymentUnit createAndInitializeDeploymentUnit(org.jboss.msc.service.ServiceRegistry registry)
Description copied from class:AbstractDeploymentUnitServiceTemplate 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.- Specified by:
createAndInitializeDeploymentUnitin classAbstractDeploymentUnitService- Parameters:
registry- The service registry- Returns:
- An initialized DeploymentUnit instance
-
-