axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject svn commit: r365569 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
Date Tue, 03 Jan 2006 08:02:05 GMT
Author: sanjiva
Date: Tue Jan  3 00:01:58 2006
New Revision: 365569

URL: http://svn.apache.org/viewcvs?rev=365569&view=rev
Log:
further cleanup of how options' properties are dealt with

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java?rev=365569&r1=365568&r2=365569&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
Tue Jan  3 00:01:58 2006
@@ -920,7 +920,16 @@
         return options;
     }
 
+    /**
+     * Set the options for myself. I make the given options my own options'
+     * parent so that that becomes the default. That allows the user to override
+     * specific options on a given message context and not affect the overall
+     * options.
+     * 
+     * @param options
+     *            the options to set
+     */
     public void setOptions(Options options) {
-        this.options = options;
+        this.options.setParent(options);
     }
 }



Mime
View raw message