users@jersey.java.net

Re: _at_Inject Annotation can inject to Java Interfact type variable?

From: kota <kota0919wasabi_at_gmail.com>
Date: Wed, 8 Sep 2010 07:52:54 -0700 (PDT)

Hi Paul

Thanks for your answer.
I like simple @Inject so if it's annotation inject interface type. that
would be great.
anyway I use Guice or Spring for what I want.

Thanks.

>Unfortunately Jersey's @Inject (renamed to @InjectParam for 1.4) only
works for concrete classes. It's just offers very simple behavior for
developers who don't want/need to use a DI framework, such as Guice,
that offers a fully feature binding API that can support what you
require.
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Inject-Annotation-can-inject-to-Java-Interfact-type-variable-tp5499697p5510954.html
Sent from the Jersey mailing list archive at Nabble.com.