You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by to...@apache.org on 2003/03/25 00:13:02 UTC

cvs commit: xml-axis/java/src/org/apache/axis/client Stub.java

tomj        2003/03/24 15:13:01

  Modified:    java/src/org/apache/axis/client Stub.java
  Log:
  Bug 18300 - add a way to remove a property from the Stub.
  
  Revision  Changes    Path
  1.23      +10 -0     xml-axis/java/src/org/apache/axis/client/Stub.java
  
  Index: Stub.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Stub.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Stub.java	3 Feb 2003 02:31:04 -0000	1.22
  +++ Stub.java	24 Mar 2003 23:13:01 -0000	1.23
  @@ -216,6 +216,16 @@
       } // _getProperty
   
       /**
  +     * Remove a property from this instance of the Stub
  +     * NOTE: This is NOT part of JAX-RPC and is an Axis extension.
  +     *
  +     * @param name the name of the property to remove
  +     * @return the value to which the key had been mapped, or null if the key did not have a mapping.
  +     */
  +    public Object removeProperty(String name) {
  +        return cachedProperties.remove(name);
  +    }
  +    /**
        * Return the names of configurable properties for this stub class.
        */
       public Iterator _getPropertyNames() {