[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-dev
Subject: [jira] Created: (AXIS2-2611) Does ServiceGroupContext property data
From: "Federica Ciotti (JIRA)" <jira () apache ! org>
Date: 2007-04-30 23:15:15
Message-ID: 23742443.1177974915837.JavaMail.jira () brutus
[Download RAW message or body]
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic