On Fri September 25 2009 12:25:50 pm Andrej Rippich wrote: > Hi all, > I'm developing a web application which does some wiring inside of a > context listener. > Because the service implementation classes (im using servlet transport > -CXF Servlet) are they are instantiated at deploy time (also by an > context listener) the wireing is possible not finished and the > deployment fail. > Therefore my question: Is it possible (by configuration) to defer the > instantiation of my service classes so that they getting instantiated on > demand? > Thanks > Andrej
Interesting idea. Not currently doable, but definitely an interesting idea. The best best is to set depends-on attributes on things to make sure the beans that need to be initialized first are initialized before the service beans and such. -- Daniel Kulp [email protected] http://www.dankulp.com/blog
