FileDocCategorySizeDatePackage
WebServicesDeploymentDescriptorFile.javaAPI DocGlassfish v2 API3730Fri May 04 22:31:38 BST 2007com.sun.enterprise.deployment.io

WebServicesDeploymentDescriptorFile

public class WebServicesDeploymentDescriptorFile extends DeploymentDescriptorFile
This class is responsible for handling the JSR 109 webservices deployment descriptor
author
Kenneth Saks

Fields Summary
private String
descriptorPath
Constructors Summary
public WebServicesDeploymentDescriptorFile(com.sun.enterprise.deployment.Descriptor desc)

        descriptorPath = ( desc instanceof WebBundleDescriptor ) ?
            DescriptorConstants.WEB_WEBSERVICES_JAR_ENTRY : DescriptorConstants.EJB_WEBSERVICES_JAR_ENTRY;
    
Methods Summary
public static java.util.VectorgetAllDescriptorPaths()

        Vector allDescPaths = new Vector();
        allDescPaths.add(DescriptorConstants.WEB_WEBSERVICES_JAR_ENTRY);
        allDescPaths.add(DescriptorConstants.EJB_WEBSERVICES_JAR_ENTRY);

        return allDescPaths;
    
public java.lang.StringgetDeploymentDescriptorPath()

return
the location of the DeploymentDescriptor file for a particular type of J2EE Archive

        return descriptorPath;
    
public com.sun.enterprise.deployment.node.RootXMLNodegetRootXMLNode(com.sun.enterprise.deployment.Descriptor descriptor)

return
a RootXMLNode responsible for handling the deployment descriptors associated with this J2EE module
param
the descriptor for which we need the node

        if( descriptor instanceof BundleDescriptor ) {
            return new WebServicesDescriptorNode((BundleDescriptor) descriptor);
        }
        return null;