Does ServiceGroupContext property data structures need to be synchronized? --------------------------------------------------------------------------
Key: AXIS2-2611 URL: https://issues.apache.org/jira/browse/AXIS2-2611 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: kernel Affects Versions: 1.1.1 Environment: Linux Fedora fc5, tomcat 6.0.7, java1.5.0_11, Axis2 1.1.1 Reporter: Federica Ciotti My service is a service group composed by two service classes deployed in the same .aar archive. The two classes extend a superclass that declares a TestingManager object and put it in the service context: protected TestingManager testingManager; sgc.setProperty(ServiceGroupContext.COPY_PROPERTIES, "true"); groupCtxState.put(Constants.TESTINGMANAGER, this.testingManager); Both of the classes access the same data structure by doing: TestingManager tm = (TestingManager) this.sgc.getProperty(Constants.TESTINGMANAGER); if the service needs to read the property and: this.sgc.setProperty(Constants.TESTINGMANAGER, tm); to save the modified object. Since the two classes both write and/or read the same property, what about synchronization? Does Axis2 manages the synchronization? Many Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]