Re: inject services with custom annotation

2010-04-11 Thread Thiago H. de Paula Figueiredo
On Sat, Apr 10, 2010 at 8:26 PM, Igor Drobiazko wrote: > Just contribute your own ComponentClassTransformWorker. The class > InjectWorker is an implementation of this interfaces which is responsible > for injecting servises annotated with @Inject. This would only work for components, pages and mi

Re: inject services with custom annotation

2010-04-10 Thread Igor Drobiazko
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 Sa

inject services with custom annotation

2010-04-10 Thread Piero Sartini
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 suppo