Methods Summary |
---|
public void | deployToRegistry(WSDDDeployment registry)
// deploy any named subparts
if (requestFlow != null) {
requestFlow.deployToRegistry(registry);
}
if (responseFlow != null) {
responseFlow.deployToRegistry(registry);
}
|
public WSDDFaultFlow | getFaultFlow(javax.xml.namespace.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 WSDDFaultFlow[] | getFaultFlows()
return null;
|
public javax.xml.namespace.QName | getPivotQName()
return pivotQName;
|
public WSDDRequestFlow | getRequestFlow()
return requestFlow;
|
public WSDDResponseFlow | getResponseFlow()
return responseFlow;
|
public org.apache.axis.Handler | makeNewInstance(org.apache.axis.EngineConfiguration registry)
Handler reqHandler = null;
WSDDChain req = getRequestFlow();
if (req != null)
reqHandler = req.getInstance(registry);
Handler pivot = null;
if (pivotQName != null) {
if (URI_WSDD_JAVA.equals(pivotQName.getNamespaceURI())) {
try {
pivot = (Handler)ClassUtils.forName(pivotQName.getLocalPart()).newInstance();
} catch (InstantiationException e) {
throw new ConfigurationException(e);
} catch (IllegalAccessException e) {
throw new ConfigurationException(e);
} catch (ClassNotFoundException e) {
throw new ConfigurationException(e);
}
} else {
pivot = registry.getHandler(pivotQName);
}
}
Handler respHandler = null;
WSDDChain resp = getResponseFlow();
if (resp != null)
respHandler = resp.getInstance(registry);
Handler retVal = new org.apache.axis.SimpleTargetedChain(reqHandler, pivot,
respHandler);
retVal.setOptions(getParametersTable());
return retVal;
|
public void | setPivotQName(javax.xml.namespace.QName pivotQName)
this.pivotQName = pivotQName;
|
public void | setRequestFlow(WSDDRequestFlow flow)
requestFlow = flow;
|
public void | setResponseFlow(WSDDResponseFlow flow)
responseFlow = flow;
|
public void | setType(java.lang.String type)
throw new WSDDException(Messages.getMessage(
"noTypeSetting", getElementName().getLocalPart()));
|
public final void | writeFlowsToContext(org.apache.axis.encoding.SerializationContext context)Write this element out to a SerializationContext
if (requestFlow != null) {
requestFlow.writeToContext(context);
}
if (responseFlow != null) {
responseFlow.writeToContext(context);
}
|