public interface DeploymentUnit extends Attachable
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
createDeploymentSubModel(String subsystemName,
PathElement address)
Create a management sub-model for components from the deployment itself.
|
org.jboss.dmr.ModelNode |
getDeploymentSubsystemModel(String subsystemName)
Get the extension deployment model root.
|
String |
getName()
Get the simple name of the deployment unit.
|
DeploymentUnit |
getParent()
Get the deployment unit of the parent (enclosing) deployment.
|
org.jboss.msc.service.ServiceName |
getServiceName()
Get the service name of the root deployment unit service.
|
org.jboss.msc.service.ServiceRegistry |
getServiceRegistry()
Get the service registry.
|
addToAttachmentList, getAttachment, getAttachmentList, hasAttachment, putAttachment, removeAttachment
org.jboss.msc.service.ServiceName getServiceName()
DeploymentUnit getParent()
null
if this is a top-level deploymentString getName()
org.jboss.msc.service.ServiceRegistry getServiceRegistry()
org.jboss.dmr.ModelNode getDeploymentSubsystemModel(String subsystemName)
subsystemName
- the subsystem name.org.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathElement address)
ExtensionContext
and
org.jboss.as.controller.SubsystemRegistration.registerDeploymentModel.subsystemName
- the subsystem name the model was registeredaddress
- the path address this sub-model should be created inCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.