/** * Get the deployment. If there is no deployment, create an empty one * @return the deployment document */ public WSDDDeployment getDeployment() { if (deployment == null) { deployment = new WSDDDeployment(); } return deployment; }
/** * Get the deployment. If there is no deployment, create an empty one * @return the deployment document */ public WSDDDeployment getDeployment() { if (deployment == null) { deployment = new WSDDDeployment(); } return deployment; }
/** * Get the deployment. If there is no deployment, create an empty one * @return the deployment document */ public WSDDDeployment getDeployment() { if (deployment == null) { deployment = new WSDDDeployment(); } return deployment; }
/** * Bind to a new document, setting the undeployment nodes if it is an undeployment, * the deployment tree if it is anything else. * @param document XXX */ public void setDocument(Document document) throws WSDDException { this.doc = document; Element docEl = doc.getDocumentElement(); if (ELEM_WSDD_UNDEPLOY.equals(docEl.getLocalName())) { undeployment = new WSDDUndeployment(docEl); } else { deployment = new WSDDDeployment(docEl); } }
/** * bind to a sub-element in a document. * @param e (Element) XXX */ public WSDDDocument(Element e) throws WSDDException { doc = e.getOwnerDocument(); if (ELEM_WSDD_UNDEPLOY.equals(e.getLocalName())) { undeployment = new WSDDUndeployment(e); } else { deployment = new WSDDDeployment(e); } }
/** * bind to a sub-element in a document. * @param e (Element) XXX */ public WSDDDocument(Element e) throws WSDDException { doc = e.getOwnerDocument(); if (ELEM_WSDD_UNDEPLOY.equals(e.getLocalName())) { undeployment = new WSDDUndeployment(e); } else { deployment = new WSDDDeployment(e); } }
/** * Bind to a new document, setting the undeployment nodes if it is an undeployment, * the deployment tree if it is anything else. * @param document XXX */ public void setDocument(Document document) throws WSDDException { this.doc = document; Element docEl = doc.getDocumentElement(); if (ELEM_WSDD_UNDEPLOY.equals(docEl.getLocalName())) { undeployment = new WSDDUndeployment(docEl); } else { deployment = new WSDDDeployment(docEl); } }
/** * bind to a sub-element in a document. * @param e (Element) XXX */ public WSDDDocument(Element e) throws WSDDException { doc = e.getOwnerDocument(); if (ELEM_WSDD_UNDEPLOY.equals(e.getLocalName())) { undeployment = new WSDDUndeployment(e); } else { deployment = new WSDDDeployment(e); } }
/** * Bind to a new document, setting the undeployment nodes if it is an undeployment, * the deployment tree if it is anything else. * @param document XXX */ public void setDocument(Document document) throws WSDDException { this.doc = document; Element docEl = doc.getDocumentElement(); if (ELEM_WSDD_UNDEPLOY.equals(docEl.getLocalName())) { undeployment = new WSDDUndeployment(docEl); } else { deployment = new WSDDDeployment(docEl); } }
public void configureEngine(AxisEngine engine) throws ConfigurationException { this.deployment = new WSDDDeployment(); WSDDGlobalConfiguration config = new WSDDGlobalConfiguration(); config.setOptionsHashtable(new Hashtable()); this.deployment.setGlobalConfiguration(config); File [] dirs = this.dir.listFiles(new DirFilter()); for (int i = 0; i < dirs.length; i++) { processWSDD(dirs[i]); } this.deployment.configureEngine(engine); engine.refreshGlobalOptions(); }
public void configureEngine(AxisEngine engine) throws ConfigurationException { this.deployment = new WSDDDeployment(); WSDDGlobalConfiguration config = new WSDDGlobalConfiguration(); config.setOptionsHashtable(new Hashtable()); this.deployment.setGlobalConfiguration(config); File [] dirs = this.dir.listFiles(new DirFilter()); for (int i = 0; i < dirs.length; i++) { processWSDD(dirs[i]); } this.deployment.configureEngine(engine); engine.refreshGlobalOptions(); }
public void configureEngine(AxisEngine engine) throws ConfigurationException { this.deployment = new WSDDDeployment(); WSDDGlobalConfiguration config = new WSDDGlobalConfiguration(); config.setOptionsHashtable(new Hashtable()); this.deployment.setGlobalConfiguration(config); File [] dirs = this.dir.listFiles(new DirFilter()); for (int i = 0; i < dirs.length; i++) { processWSDD(dirs[i]); } this.deployment.configureEngine(engine); engine.refreshGlobalOptions(); }