cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Defering the instantiation of the service implementation
Date Sat, 26 Sep 2009 12:25:47 GMT
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 

Daniel Kulp

View raw message