On 5/31/11 2:18 , Niclas Hedhman wrote:
Speaking of this, a bug surfaced today in our system, where basically
a thread was calling a service, which got activated and in turn called
a service that was already shutdown. So my team member was asking how
come Qi4j didn't stop the passivated service from being called.

Is that something we should add in method handler of Services? Or is a
passivated service still 'in the game' ??

A passivate service can be activated by a call. The question is whether to have a separate state for a service which is "unavailable", so that even a call would not activate it. We do have an "availability" concept, so that could be expanded to be more authoritative I suppose.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to