use of com.sun.enterprise.deployment.node.runtime.application.wls.WeblogicApplicationNode in project Payara by payara.
the class WLSApplicationRuntimeDDFile method getRootXMLNode.
/**
* @return a RootXMLNode responsible for handling the deployment
* descriptors associated with this J2EE module
*
* @param the descriptor for which we need the node
*/
public RootXMLNode getRootXMLNode(Descriptor descriptor) {
if (descriptor instanceof Application) {
Application application = (Application) descriptor;
RootXMLNode node = application.getRootNode(getDeploymentDescriptorPath());
if (node == null) {
node = new WeblogicApplicationNode(application);
application.addRootNode(getDeploymentDescriptorPath(), node);
}
return node;
}
return new WeblogicApplicationNode();
}
Aggregations