Tonny,

I have now added a method "List<String> injectedServices()" to 
DependencyDescriptor. If the dependency is a @Service-injection, then it 
will contain the id's of all services (both hosted and imported) which 
have been bound to the injection point. I have added a 
System.out.println() of this in DependencyPane to give you some idea of 
how to use it.

Basically this would enable us to view a @Service injection and see what 
actual service it has been bound to. It would then be possible to click 
on the service id and have the UI scroll to the service that was bound. 
This gives us service dependency traversal, which will be soooo useful 
for larger applications.

WDYT? Does this sound ok? Any more interesting things we want to do with it?

/Rickard

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

Reply via email to