Hi! I'm working on some classes (using Tapestry IOC in a java non-web client environment). I have some classes that I really want to do DI style, but I'm not able to control their instantiation due to how some other framework is doing things. So, constructor-based injection is not an option.
What I do have, is an opportunity to go through these objects just after they have been instantiated. At that point, it would be nice to inject the dependencies through setter methods, using some "injection" service that takes an instance and invokes any setters that match service classes, like this: instanceInjector.injectInto(myManuallyInstantiatedInstance). I was pretty sure this could be done in Tapestry, but I can't seem to find the service in tapestry-ioc that does it. Do any of you guys have pointers? Thanks :) Inge