Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 45804 invoked from network); 2 May 2007 15:59:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 15:59:40 -0000 Received: (qmail 13670 invoked by uid 500); 2 May 2007 15:59:44 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 13485 invoked by uid 500); 2 May 2007 15:59:42 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 13474 invoked by uid 99); 2 May 2007 15:59:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 08:59:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 08:59:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 88186714066 for ; Wed, 2 May 2007 08:59:15 -0700 (PDT) Message-ID: <21539175.1178121555554.JavaMail.jira@brutus> Date: Wed, 2 May 2007 08:59:15 -0700 (PDT) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2-2611) Does ServiceGroupContext property data structures need to be synchronized? In-Reply-To: <23742443.1177974915837.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepal Jayasinghe reassigned AXIS2-2611: ---------------------------------------- Assignee: Deepal Jayasinghe > 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 > Assigned To: Deepal Jayasinghe > > 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