Hi Igor,

thanks for your mail!

2009/7/25 Igor Drobiazko <igor.drobia...@gmail.com>:
> ComponentClassTransformWorker is supposed to transform only component (and
> page) classes.
> The ijection mechanism can be extended in two ways:
> - by contributing a org.apache.tapestry5.ioc.ObjectProvider
> - by contributing a org.apache.tapestry5.services.InjectionProvider
>
> A InjectionProvider can transform classes but it is a part of tapestry-core.
> A ObjectProvider is a part of tapestry-ioc but it can not transform classes.
>
>
> What if you inject the service
> org.apache.tapestry5.ioc.services.ClassFactory in one of your services?

Ah, so I can use the class factory to create objects rather than using
new? And then the standard @Inject works automatically?  I'll have a
look at this and report back.

Cheers,

Adriaan

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

Reply via email to