Hello Springers,
I'm investigating whether I can use Spring to configure a bean after its creation. I'm using Tapestry, and the creation of my Page object is controlled by the framework. I'd like to be able to add a call to something like:
beanFactory.populate(thisPage, idOfPageInFactory);
during the pageBeginRender callback method. Then I'd like to "deconfigure" it during the pageEndRender method.
I found something similar,
AutowireCapableBeanFactory.autowireBeanProperties( )
which is exactly what I want (I think). However, it only allows autowiring, not explicit wiring.
Is this possible? If it isn't, is that because it's a bad idea? Would this be a good feature request?
Cheers,
Nick


Reply With Quote