Added the 'request-callback' attribute for the <ws-handler/> element. The provided bean reference will be set as the 'requestCallback' property of the handler (INT-257).

This commit is contained in:
Mark Fisher
2008-06-24 16:22:41 +00:00
parent e24fe02cf0
commit 161e7d1933
6 changed files with 79 additions and 4 deletions

View File

@@ -70,6 +70,10 @@ public class WebServiceHandlerParser extends AbstractSingleBeanDefinitionParser
builder.addConstructorArgReference(sourceExtractorRef);
}
}
String requestCallbackRef = element.getAttribute("request-callback");
if (StringUtils.hasText(requestCallbackRef)) {
builder.addPropertyReference("requestCallback", requestCallbackRef);
}
}
}

View File

@@ -31,6 +31,7 @@
<xsd:attribute name="marshaller" type="xsd:string"/>
<xsd:attribute name="unmarshaller" type="xsd:string"/>
<xsd:attribute name="source-extractor" type="xsd:string"/>
<xsd:attribute name="request-callback" type="xsd:string"/>
</xsd:complexType>
</xsd:element>