Niclas Hedhman wrote:
public interface ServiceFinder { <T> ServiceReference<T> findService( Type serviceType ); <T> Iterable<ServiceReference<T>> findServices( Type serviceType ); }are using Type instead of Class<T> ?? With Type, it might as well be; public interface ServiceFinder { ServiceReference<Object> findService( Type serviceType ); Iterable<ServiceReference<Object>> findServices( Type serviceType ); } which indeed is ugly...
You have already asked exactly the same question once before, so check my reply on that :-)
/Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

