axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Federica Ciotti (JIRA)" <>
Subject [jira] Created: (AXIS2-2611) Does ServiceGroupContext property data structures need to be synchronized?
Date Mon, 30 Apr 2007 23:15:15 GMT
Does ServiceGroupContext property data structures need to be synchronized?

                 Key: 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 


	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:
For additional commands, e-mail:

View raw message