Rickard,
do you know why
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...
Cheers
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/2qq9er
I work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev