Simple answer: Stick to constructor injection. Then when the constructor actually starts running, you know all the injection is done.
2009/1/16 Kamran <[email protected]>: > > Is it possible to call some method after an object is completely > injected with dependencies? At the moment I have to explicitly call > the method from setters, but what I need is a single call after the > object injection is complete just like afterPropertiesSet method in > Spring. > > > -- New site launched: http://biotext.org.uk/ I am retiring my old email addresses. Please use [email protected] where firstname = andrew. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
