I could probably use a factory bean to do that so my existing code does not change I guess.
Thanks for the info Sent from my iPhone On Apr 20, 2011, at 2:29, Daniel Kulp <[email protected]> wrote: > On Tuesday 19 April 2011 3:27:03 AM Jason Pell wrote: >> Hi, >> >> I was using the org.apache.cxf.endpoint.ServerRegistry in my code in >> 2.3.3 and when I upgraded to 2.4.0 I can no longer access this bean. >> Is there something specific I have to do now to get access to it? >> Does it have a different bean id? > > With 2.4.0, pretty much the entire Bus is setup without Spring now (for > performance and memory reasons as well as make it easier to port to other > environments such as Blueprint). Thus, pretty much all the functionality is > no longer defined as Spring beans. The only "real" bean left is the Bus > itself. > > For your specific case, what you likely will need to do is inject the Bus > itself into your code and then call bus.getExtension(ServerRegistry.class). > That will give you the registry. (btw: that would still work with 2.3.x as > well). > > > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog > Talend - http://www.talend.com
