Jim Ma wrote:
There is one use case I can see now to keep the lazy load support : when user specify both the jbossws-cxf.xml and web.xml to create a service , and there is some configuration item for example "wsdlLocation" in jbossws-cxf.xml needs ServletContextResourceResolver :
<jaxws:endpoint class="foo.Bar" wsdlLocation="WEB-INF/hello.wsdl"/>
This is actually not a problem, as currently the CXFServletExt:
1) get the bus created during deployment from the endpoint
2) sets the bus as the thread default
3) updates the bus with the information coming from the ServletConfig: this includes adding that resource resolver to the resource manager
4) properly creates and sets the ServletController using the bus