On Wed, 02 Nov 2011 14:18:12 -0200, Christian Riedel <cr.ml...@googlemail.com> wrote:

Hi

Hi!

Can't you support both methods?

<T> T getService(Class<T> serviceInterface, Class<? extends Annotation>... markerTypes);
and
    <T> T getService(Class<T> serviceInterface);

Isn't a getService(SomeClass.class) call valid for T getService(Class<T> serviceInterface, Class<? extends> Annotation>... markerTypes)? I think so. Don't you have any class implementing ObjectLocator?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to