axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/logging Trc.java
Date Mon, 19 Aug 2002 14:25:13 GMT
whitlock    2002/08/19 07:25:13

  Modified:    java/src/org/apache/wsif/logging Trc.java
  Log:
  Don't expand BindingInput, BindingOutput and Operation in the trace
  
  Revision  Changes    Path
  1.6       +36 -7     xml-axis-wsif/java/src/org/apache/wsif/logging/Trc.java
  
  Index: Trc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/logging/Trc.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Trc.java	16 Aug 2002 08:46:46 -0000	1.5
  +++ Trc.java	19 Aug 2002 14:25:13 -0000	1.6
  @@ -66,7 +66,9 @@
   import java.util.StringTokenizer;
   
   import javax.wsdl.Binding;
  +import javax.wsdl.BindingInput;
   import javax.wsdl.BindingOperation;
  +import javax.wsdl.BindingOutput;
   import javax.wsdl.Definition;
   import javax.wsdl.Operation;
   import javax.wsdl.Port;
  @@ -1007,15 +1009,15 @@
                   str = "portType(UNNAMED";
               else
                   str = "portType(" + pt.getQName();
  -        } else if (o instanceof BindingOperation) {
  +        } else if (o instanceof Operation) {
               found = true;
  -            BindingOperation bo = (BindingOperation) o;
  -            if (bo == null)
  -                str = "bindingOperation(NULL)";
  -            else if (bo.getName() == null)
  -                str = "bindingOperation(UNNAMED";
  +            Operation op = (Operation) o;
  +            if (op == null)
  +                str = "operation(NULL)";
  +            else if (op.getName() == null)
  +                str = "operation(UNNAMED";
               else
  -                str = "bindingOperation(" + bo.getName();
  +                str = "operation(" + op.getName();
           } else if (o instanceof Binding) {
               found = true;
               Binding b = (Binding) o;
  @@ -1025,6 +1027,33 @@
                   str = "binding(UNNAMED";
               else
                   str = "binding(" + b.getQName();
  +        } else if (o instanceof BindingOperation) {
  +            found = true;
  +            BindingOperation bo = (BindingOperation) o;
  +            if (bo == null)
  +                str = "bindingOperation(NULL)";
  +            else if (bo.getName() == null)
  +                str = "bindingOperation(UNNAMED";
  +            else
  +                str = "bindingOperation(" + bo.getName();
  +        } else if (o instanceof BindingInput) {
  +            found = true;
  +            BindingInput bi = (BindingInput) o;
  +            if (bi == null)
  +                str = "bindingInput(NULL)";
  +            else if (bi.getName() == null)
  +                str = "bindingInput(UNNAMED";
  +            else
  +                str = "bindingInput(" + bi.getName();
  +        } else if (o instanceof BindingOutput) {
  +            found = true;
  +            BindingOutput bo = (BindingOutput) o;
  +            if (bo == null)
  +                str = "bindingOutput(NULL)";
  +            else if (bo.getName() == null)
  +                str = "bindingOutput(UNNAMED";
  +            else
  +                str = "bindingOutput(" + bo.getName();
           } else if (o instanceof Map) {
               Map map = (Map) o;
               HashMap newMap = null;
  
  
  

Mime
View raw message