Didn't know about @PostInjecton, thanks for sharing.
On Mon, Sep 23, 2013 at 3:19 PM, Lance Java <lance.j...@googlemail.com>wrote: > Methods marked with @PostInjection will be called after your constructor. > The method params will be injected. > > > http://tapestry.apache.org/tapestry5/apidocs//org/apache/tapestry5/ioc/annotations/PostInjection.html > > Eg > public class MyServiceImpl implements MyService { > public MyServiceImpl(Dependency1 s1, Dependency2 d2) { > // set > } > > @PostInjection > public cleanupThread(PerthreadManager perthreadManager) { > perthreadManager.addThreadCleanupListener(…); > } > } > -- Dmitry Gusev AnjLab Team http://anjlab.com