/** * * @param name XXX * @return XXX */ public WSDDFaultFlow getFaultFlow(QName name) { WSDDFaultFlow[] t = getFaultFlows(); for (int n = 0; n < t.length; n++) { if (t[n].getQName().equals(name)) { return t[n]; } } return null; }
public Hashtable getGlobalOptions() throws ConfigurationException { return globalConfig.getParametersTable(); }
public Handler getGlobalRequest() throws ConfigurationException { if (globalConfig != null) { WSDDRequestFlow reqFlow = globalConfig.getRequestFlow(); if (reqFlow != null) return reqFlow.getInstance(this); } return null; }
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(); }
/** * * @param e (Element) XXX * @throws WSDDException XXX */ public WSDDGlobalConfiguration(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } Element [] roleElements = getChildElements(e, ELEM_WSDD_ROLE); for (int i = 0; i < roleElements.length; i++) { String role = XMLUtils.getChildCharacterData(roleElements[i]); roles.add(role); } }
public Handler getGlobalResponse() throws ConfigurationException { if (globalConfig != null) { WSDDResponseFlow respFlow = globalConfig.getResponseFlow(); if (respFlow != null) return respFlow.getInstance(this); } return null; }
public List getRoles() { return globalConfig == null ? new ArrayList() : globalConfig.getRoles(); }
/** * Write this element out to a SerializationContext */ public void writeToContext(SerializationContext context) throws IOException { context.startElement(QNAME_GLOBAL, null); writeParamsToContext(context); if (requestFlow != null) requestFlow.writeToContext(context); if (responseFlow != null) responseFlow.writeToContext(context); context.endElement(); }
globalConfig = new WSDDGlobalConfiguration(el);
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(); }
/** * * @param e (Element) XXX * @throws WSDDException XXX */ public WSDDGlobalConfiguration(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } Element [] roleElements = getChildElements(e, ELEM_WSDD_ROLE); for (int i = 0; i < roleElements.length; i++) { String role = XMLUtils.getChildCharacterData(roleElements[i]); roles.add(role); } }
public Handler getGlobalResponse() throws ConfigurationException { if (globalConfig != null) { WSDDResponseFlow respFlow = globalConfig.getResponseFlow(); if (respFlow != null) return respFlow.getInstance(this); } return null; }
public List getRoles() { return globalConfig == null ? new ArrayList() : globalConfig.getRoles(); }
/** * Write this element out to a SerializationContext */ public void writeToContext(SerializationContext context) throws IOException { context.startElement(QNAME_GLOBAL, null); writeParamsToContext(context); if (requestFlow != null) requestFlow.writeToContext(context); if (responseFlow != null) responseFlow.writeToContext(context); context.endElement(); }
globalConfig = new WSDDGlobalConfiguration(el);
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(); }
/** * * @param e (Element) XXX * @throws WSDDException XXX */ public WSDDGlobalConfiguration(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } Element [] roleElements = getChildElements(e, ELEM_WSDD_ROLE); for (int i = 0; i < roleElements.length; i++) { String role = XMLUtils.getChildCharacterData(roleElements[i]); roles.add(role); } }
public Hashtable getGlobalOptions() throws ConfigurationException { return globalConfig.getParametersTable(); }
public Handler getGlobalRequest() throws ConfigurationException { if (globalConfig != null) { WSDDRequestFlow reqFlow = globalConfig.getRequestFlow(); if (reqFlow != null) return reqFlow.getInstance(this); } return null; }
public Handler getGlobalResponse() throws ConfigurationException { if (globalConfig != null) { WSDDResponseFlow respFlow = globalConfig.getResponseFlow(); if (respFlow != null) return respFlow.getInstance(this); } return null; }