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]

Reply via email to