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(…);
   }
}

Reply via email to