Package org.jboss.as.server.deployment
Interface DeploymentUnit
- All Superinterfaces:
Attachable,FeatureFilter,FeatureRegistry
The deployment unit. This object retains data which is persistent for the life of the
deployment.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the simple name of the deployment unit.Get the deployment unit of the parent (enclosing) deployment.org.jboss.msc.service.ServiceNameGet the service name of the root deployment unit service.org.jboss.msc.service.ServiceRegistryGet the service registry.Methods inherited from interface org.jboss.as.server.deployment.Attachable
addToAttachmentList, getAttachment, getAttachmentList, hasAttachment, putAttachment, removeAttachmentMethods inherited from interface org.jboss.as.controller.FeatureRegistry
enables, getStability
-
Method Details
-
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
-