public class DualChannelInterceptorImpl extends java.lang.Object implements DualChannelPolicyInterceptor, OutboundSOAPUTF8TransformationInterceptor, InboundSOAPXMLDocumentInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
DualChannelInterceptorImpl.TransformedChannelInfos |
| Constructor and Description |
|---|
DualChannelInterceptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDualChannelQNameAttribute(java.lang.String dualChannelNS,
org.w3c.dom.Element valueElement,
org.ws4d.java.types.QName attrValue,
org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String attributeNamePrefixed) |
protected org.w3c.dom.Node |
createDOMNode(org.ws4d.java.service.parameter.ParameterValue pv,
org.w3c.dom.Document inboundSOAPDocument) |
QoSPolicyInterceptionDirection |
getInterceptionDirection() |
org.ws4d.java.structures.Iterator |
getInterceptorSubjectClasses() |
protected java.lang.String |
getNameSpacePrefix(org.w3c.dom.Element valueElement,
org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String nameSpace) |
QoSPolicyOrdinalNumber |
getOrdinalNumberForSubject(java.lang.Class<?> subjectClass) |
org.ws4d.java.structures.Iterator |
getQoSPolicyClasses() |
org.w3c.dom.Document |
interceptInbound(org.w3c.dom.Document inboundSOAPDocument,
org.ws4d.java.communication.ConnectionInfo protocolData,
org.ws4d.java.communication.receiver.MessageReceiver to,
QoSMessageContext qosMessageCtxt,
QoSPolicy policy,
java.lang.String action) |
boolean |
interceptOutbound(java.io.InputStream interceptableSOAPUTF8InputStream,
org.ws4d.java.communication.ConnectionInfo pd,
QoSMessageContext qosMsgCtxt,
QoSPolicy policy,
java.io.OutputStream soapUTF8OutputStream,
org.ws4d.java.schema.Element element) |
protected org.ws4d.java.types.QName |
parsePrefixValue(org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String prefixedString) |
protected void |
transformFirstChannelNodes(DualChannelPolicy policy,
DualChannelInterceptorImpl.TransformedChannelInfos channelInfos,
org.w3c.dom.Node[] nodes) |
protected java.lang.String |
transformXPathExpression(org.w3c.dom.Element value,
java.lang.String expr,
org.ws4d.java.structures.HashMap declaredNameSpaces,
XPathNamespaceContext ctxt) |
public boolean interceptOutbound(java.io.InputStream interceptableSOAPUTF8InputStream,
org.ws4d.java.communication.ConnectionInfo pd,
QoSMessageContext qosMsgCtxt,
QoSPolicy policy,
java.io.OutputStream soapUTF8OutputStream,
org.ws4d.java.schema.Element element)
throws InterceptionException
interceptOutbound in interface OutboundSOAPUTF8TransformationInterceptorInterceptionExceptionprotected void transformFirstChannelNodes(DualChannelPolicy policy, DualChannelInterceptorImpl.TransformedChannelInfos channelInfos, org.w3c.dom.Node[] nodes)
xpath - policy - channelInfos - nodes - protected java.lang.String transformXPathExpression(org.w3c.dom.Element value,
java.lang.String expr,
org.ws4d.java.structures.HashMap declaredNameSpaces,
XPathNamespaceContext ctxt)
value - xPathInfo - declaredNameSpaces - ctxt - protected void addDualChannelQNameAttribute(java.lang.String dualChannelNS,
org.w3c.dom.Element valueElement,
org.ws4d.java.types.QName attrValue,
org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String attributeNamePrefixed)
dualChannelNS - attrValueNSPrefix - valueElement - declaredNameSpaces - attributeNamePrefixed - protected java.lang.String getNameSpacePrefix(org.w3c.dom.Element valueElement,
org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String nameSpace)
valueElement - declaredNameSpaces - nameSpace - public QoSPolicyOrdinalNumber getOrdinalNumberForSubject(java.lang.Class<?> subjectClass)
getOrdinalNumberForSubject in interface QoSPolicyInterceptorpublic org.ws4d.java.structures.Iterator getQoSPolicyClasses()
getQoSPolicyClasses in interface QoSPolicyInterceptorpublic org.ws4d.java.structures.Iterator getInterceptorSubjectClasses()
getInterceptorSubjectClasses in interface QoSPolicyInterceptorpublic QoSPolicyInterceptionDirection getInterceptionDirection()
getInterceptionDirection in interface QoSPolicyInterceptorpublic org.w3c.dom.Document interceptInbound(org.w3c.dom.Document inboundSOAPDocument,
org.ws4d.java.communication.ConnectionInfo protocolData,
org.ws4d.java.communication.receiver.MessageReceiver to,
QoSMessageContext qosMessageCtxt,
QoSPolicy policy,
java.lang.String action)
throws InterceptionException
interceptInbound in interface InboundSOAPXMLDocumentInterceptorInterceptionExceptionprotected org.w3c.dom.Node createDOMNode(org.ws4d.java.service.parameter.ParameterValue pv,
org.w3c.dom.Document inboundSOAPDocument)
throws java.io.IOException,
java.io.UnsupportedEncodingException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
pv - inboundSOAPDocument - java.io.IOExceptionjava.io.UnsupportedEncodingExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionprotected org.ws4d.java.types.QName parsePrefixValue(org.ws4d.java.structures.HashMap declaredNameSpaces,
java.lang.String prefixedString)
declaredNameSpaces - prefixedString -