axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/ime/internal/util/handler HandlerMessageExchange.java
Date Tue, 19 Nov 2002 21:17:25 GMT
jmsnell     2002/11/19 13:17:25

  Modified:    java/src/org/apache/axis/ime/internal/util/handler
                        HandlerMessageExchange.java
  Log:
  Initial checkin of IME enabled HTTP, Java and Local transport senders.  This part simply
wraps the existing HTTPSender, JavaSender and LocalSender handlers into a MessageExchangeProvider
so we're able to use all of the existing code.
  
  Revision  Changes    Path
  1.5       +6 -6      xml-axis/java/src/org/apache/axis/ime/internal/util/handler/HandlerMessageExchange.java
  
  Index: HandlerMessageExchange.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/ime/internal/util/handler/HandlerMessageExchange.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HandlerMessageExchange.java	13 Nov 2002 05:24:20 -0000	1.4
  +++ HandlerMessageExchange.java	19 Nov 2002 21:17:25 -0000	1.5
  @@ -98,17 +98,17 @@
           return new FirstComeFirstServeDispatchPolicy(RECEIVE, RECEIVE_REQUESTS);
       }
   
  -    protected Handler getSendHandler() {
  -      Handler h = null;
  -      if (handler instanceof TargetedChain) {
  +    public Handler getSendHandler() {
  +      Handler h = super.getSendHandler();
  +      if (h == null && handler instanceof TargetedChain) {
           h = ((TargetedChain)handler).getRequestHandler();
         }
         return h;
       }
       
  -    protected Handler getReceiveHandler() {
  -      Handler h = null;
  -      if (handler instanceof TargetedChain) {
  +    public Handler getReceiveHandler() {
  +      Handler h = super.getReceiveHandler();
  +      if (h == null && handler instanceof TargetedChain) {
           h = ((TargetedChain)handler).getResponseHandler();
         }
         return h;
  
  
  

Mime
View raw message