Package org.jboss.as.server.deployment
Interface DeploymentUnit
-
- All Superinterfaces:
Attachable,FeatureFilter,FeatureRegistry
public interface DeploymentUnit extends Attachable, FeatureRegistry
The deployment unit. This object retains data which is persistent for the life of the deployment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Get the simple name of the deployment unit.DeploymentUnitgetParent()Get the deployment unit of the parent (enclosing) deployment.org.jboss.msc.service.ServiceNamegetServiceName()Get the service name of the root deployment unit service.org.jboss.msc.service.ServiceRegistrygetServiceRegistry()Get the service registry.default StabilitygetStability()-
Methods inherited from interface org.jboss.as.server.deployment.Attachable
addToAttachmentList, getAttachment, getAttachmentList, hasAttachment, putAttachment, removeAttachment
-
Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
-
-
-
Method Detail
-
getServiceName
org.jboss.msc.service.ServiceName getServiceName()
Get the service name of the root deployment unit service.- Returns:
- the service name
-
getParent
DeploymentUnit getParent()
Get the deployment unit of the parent (enclosing) deployment.- Returns:
- the parent deployment unit, or
nullif this is a top-level deployment
-
getName
String getName()
Get the simple name of the deployment unit.- Returns:
- the simple name
-
getServiceRegistry
org.jboss.msc.service.ServiceRegistry getServiceRegistry()
Get the service registry.- Returns:
- the service registry
-
getStability
default Stability getStability()
- Specified by:
getStabilityin interfaceFeatureRegistry
-
-