You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/03 09:02:05 UTC
svn commit: r365569 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
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);
}
}