Hi all,

I was checking some code here [1] and I've noticed that the
configuration is stored in AxisConfiguration. 
However AxisConfiguration (and its super class AxisDescription) is *not*
thread safe. In particular it uses HashMap objects to store all the
parameters (and ParameterIncludeImpl -- which is used to store Parameter
objects -- is a wrapper around a HashMap as well). If parameters are set
only at startup everything works fine, however if one wishes to change
them at runtime it doesn't work (i.e. the code [2] is broken).

Best
Michele


[1]
http://wso2.org/repos/wso2/trunk/commons/statistics/modules/core/src/main/java/org/wso2/statistics/module/StatisticsModule.java
[2]
http://wso2.org/repos/wso2/trunk/commons/statistics/modules/core/src/main/java/org/wso2/statistics/module/ResponseTimeHandler.java


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to