James Carman wrote:
What version of HM are you using?
-----Original Message-----
From: Aleksej [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 8:46 AM
To: [email protected]
Subject: confuze with service model
Having such simple service description as:
-----
<service-point id="Counter" interface="mediena.services.Counter">
<create-instance class="impl.CounterImpl" model="singleton"/>
</service-point>
-----
where Counter interface looks like this:
-----
int getCounter();
void increaseCounter( int value );
-----
and CounterImpl keeps counter value and logs each method I found that
every time
I ask registry for Counter service and call any method, registry creates
new instance of
Service. I call them from the same thread and even from the same
method... By default service
is sigleton, but even not defining model at all behaviour is still the same.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am using 1.1beta2. Do I need to use 1.0? How stable beta2 is?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]