public class WSEndpointDeploymentUnit extends SimpleAttachable implements DeploymentUnit
Constructor and Description |
---|
WSEndpointDeploymentUnit(ClassLoader loader,
String context,
Map<String,String> urlPatternToClassName,
org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToAttachmentList, getAttachment, getAttachmentList, hasAttachment, putAttachment, removeAttachment
public WSEndpointDeploymentUnit(ClassLoader loader, String context, Map<String,String> urlPatternToClassName, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata)
public org.jboss.msc.service.ServiceName getServiceName()
DeploymentUnit
getServiceName
in interface DeploymentUnit
public DeploymentUnit getParent()
DeploymentUnit
getParent
in interface DeploymentUnit
null
if this is a top-level deploymentpublic String getName()
DeploymentUnit
getName
in interface DeploymentUnit
public org.jboss.msc.service.ServiceRegistry getServiceRegistry()
DeploymentUnit
getServiceRegistry
in interface DeploymentUnit
public org.jboss.dmr.ModelNode getDeploymentSubsystemModel(String subsystemName)
DeploymentUnit
getDeploymentSubsystemModel
in interface DeploymentUnit
subsystemName
- the subsystem name.public org.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathElement address)
DeploymentUnit
ExtensionContext
and
org.jboss.as.controller.SubsystemRegistration.registerDeploymentModel.createDeploymentSubModel
in interface DeploymentUnit
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.