RE: Synchronized Method

2009-09-21 Thread Phillips, Chad
r class to accomplish this as well w/o explicit synchronization or additional private methods. From: Antonio Mirarchi [mailto:antonio.mirar...@gmail.com] Sent: Monday, September 21, 2009 03:40 To: user@tuscany.apache.org Subject: Re: Synchronized Method Thank for y

Re: Synchronized Method

2009-09-21 Thread Antonio Mirarchi
Thank for your answer, but if don't mark Increments and Decrements with synchronize, is there a problem of accessing to the same variable at the same time from two different method ? 2009/9/21 Simon Nash > Antonio Mirarchi wrote: > >> Hi, i have a question about invocation method between compone

Re: Synchronized Method

2009-09-21 Thread Simon Nash
Antonio Mirarchi wrote: Hi, i have a question about invocation method between components; i have three component A,B,C. The component A have two remotable and OneWay methods Increments and Decrements, Increments call a private method inc to increments private variable in A implementation, and D

Synchronized Method

2009-09-19 Thread Antonio Mirarchi
Hi, i have a question about invocation method between components; i have three component A,B,C. The component A have two remotable and OneWay methods Increments and Decrements, Increments call a private method inc to increments private variable in A implementation, and Decrements call a private me