The question is here if this is a valid usecase. The RmiStore tries to lookup 
EntityStores of other EntityStates.
That for it needs to access the module the EntityComposite was placed into and 
locate the EntityStore-service in that 
module.

At least I'd need the possibility to get a module of a CompositeType.
Another thing is to get the Class instance of an Composite - type().

The dependency on ServiceMap is not that important as this is only a trivial 
helper class.

Regarding the passivation of Services. I think the solution there is to not get 
the Service itself injected but rather a 
ServiceReference, which can be asked if its active or not and only in the 
active case access the contained service.

Michael

Niclas Hedhman schrieb:
> On Wed, Jun 18, 2008 at 5:24 PM, Michael Hunger <[EMAIL PROTECTED]> wrote:
> 
>> I could clean it up if I get the information I need there from somewhere 
>> (ModuleInstance is it?).
>> Otherwise just do it and I look at it later.
> 
> If you need ModuleInstance, or more likely some part of it, it should
> be brought forward as a usecase, and see if it makes sense to
> introduce it to the SPI. The intent down the line is that no code
> depends on Runtime.
> 
> 
> Cheers
> Niclas
> 
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev


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

Reply via email to