Just contribute your own ComponentClassTransformWorker. The class
InjectWorker is an implementation of this interfaces which is responsible
for injecting servises annotated with @Inject.

Also ObjectProvider might be a right place to accomplish your task.

On Sat, Apr 10, 2010 at 12:18 PM, Piero Sartini <li...@pierosartini.de>wrote:

> Is it possible to use custom annotations to inject services?
>
> background: I am building some support libraries for JPA that should
> work inside tapestry as well as EJB projects.
> What I want to make happen is to somehow enable @PersistenceContext
> inside the tapestry-jpa module.
>
> I don't want to support any parameters to @PersistenceContext for now...
>
> any ideas how to start?
>
>
>                           Piero
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

Reply via email to