public class WSEndpointDeploymentUnit extends SimpleAttachable implements DeploymentUnit
Constructor and Description |
---|
WSEndpointDeploymentUnit(ClassLoader loader,
String context,
Map<String,String> urlPatternToClassName,
org.jboss.metadata.web.jboss.JBossWebMetaData jbossWebMetaData,
org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata,
org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetaData) |
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,
PathAddress address)
This method is extension of
DeploymentUnit.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
DeploymentUnit.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, attachmentKeys, 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 WSEndpointDeploymentUnit(ClassLoader loader, String context, Map<String,String> urlPatternToClassName, org.jboss.metadata.web.jboss.JBossWebMetaData jbossWebMetaData, org.jboss.wsf.spi.metadata.webservices.WebservicesMetaData metadata, org.jboss.wsf.spi.metadata.webservices.JBossWebservicesMetaData jbwsMetaData)
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 inpublic org.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathAddress address)
DeploymentUnit
DeploymentUnit.createDeploymentSubModel(String, PathElement)
, the difference is that this method traverses recursively till last
element in PathAddress
.createDeploymentSubModel
in interface DeploymentUnit
subsystemName
- the subsystem name the model was registeredaddress
- the path address this sub-model should be created inpublic org.jboss.dmr.ModelNode createDeploymentSubModel(String subsystemName, PathAddress address, Resource resource)
DeploymentUnit
DeploymentUnit.createDeploymentSubModel(String, PathAddress)
, the difference is that it accepts resource that should be registered
at specified path.createDeploymentSubModel
in interface DeploymentUnit
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.