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 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.-
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, getStability
-
-
-
-
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
-
-