public interface DeploymentUnit extends Attachable
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
createDeploymentSubModel(String subsystemName,
PathAddress address)
This method is extension of
createDeploymentSubModel(String, PathElement), the difference is that this method traverses recursively till last
element in PathAddress. |
org.jboss.dmr.ModelNode |
createDeploymentSubModel(String subsystemName,
PathAddress address,
Resource resource)
This method is extension of
createDeploymentSubModel(String, PathAddress), the difference is that it accepts resource that should be registered
at specified path. |
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, removeAttachmentorg.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
SubsystemRegistration.registerDeploymentModel.subsystemName - the subsystem name the model was registeredaddress - the path address this sub-model should be created inorg.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathAddress address)
createDeploymentSubModel(String, PathElement), the difference is that this method traverses recursively till last
element in PathAddress.subsystemName - the subsystem name the model was registeredaddress - the path address this sub-model should be created inorg.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathAddress address, Resource resource)
createDeploymentSubModel(String, PathAddress), the difference is that it accepts resource that should be registered
at specified path.subsystemName - the subsystem name the model was registeredaddress - the path address this sub-model should be created inresource - the resource that needs to be registered as submoduleCopyright © 2015 JBoss by Red Hat. All rights reserved.