Nope, field level injection is only applicable to Tapestry component
classes.  For IoC services, injection is via the classes' constructor.

On Wed, Mar 26, 2008 at 4:20 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  Can we use annotation with IOC only app? instead of:
>
>  Hello hello = registry.getService(Hello.class);
>
>  we can do:
>
>  @Inject Hello hello;
>
>  ?
>  --
>  View this message in context: 
> http://www.nabble.com/T5%3A-IOC-only-app-and-annotation-tp16318689p16318689.html
>  Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to