Package org.jvnet.glassfish.comms.deployment.io

Examples of org.jvnet.glassfish.comms.deployment.io.SipDeploymentDescriptorFile


        try {
            // apply the runtime settings if any
            is = archive.getEntry(ddFileEntryName);

            DeploymentDescriptorFile confDD = new SipDeploymentDescriptorFile();

            if (archive.getArchiveUri() != null) {
                confDD.setErrorReportingString(archive.getArchiveUri());
            }

            if ((is != null) && (confDD != null)) {
                confDD.setXMLValidation(super.getRuntimeXMLValidation());
                confDD.setXMLValidationLevel(super.getRuntimeXMLValidationLevel());
                SipApplication sipApplication = (SipApplication) confDD.read(is);
                this.sbd = (SipBundleDescriptor) sipApplication.getReferringDescriptor();
            }
        } catch (SAXParseException spe) {
           String msg =
                   newLocalStrings.getString("enterprise.deployment.backend.sip.saxparseexception")
View Full Code Here


    /**
     * Method to return the Deployment Descriptor path in a archive
     * @return String the relative path of the DD within the archive
     */
    public String getSipDeploymentDescriptorPath() {
        return new SipDeploymentDescriptorFile().getDeploymentDescriptorPath();
    }
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.deployment.io.SipDeploymentDescriptorFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.