On Monday 21 February 2011 3:07:11 PM KARR, DAVID (ATTSI) wrote: > Using CXF 2.3.2. > > I'm cloning some old code I had for an older CXF-using project. I had a > unit test using JAXRSServerFactoryBean. It used to call > "setServiceBeans()", passing my controller bean. It appears this method > was removed in a later release. What should I be calling instead?
It actually had to be renamed due to it confusing Spring due to two methods having the same name but "similar" parameters. The setServiceBeans(List<Object>) is one option where you could do: setServiceBeans(Collections.singletonList(obj)) or use: setServiceBeanObjects(obj); which is the newly renamed method. > Also, I see that JAXRSServerFactoryBean isn't in the standard doc set, > but it is in the javadoc on the web site. Is there a download package > that includes the javadoc for this class? The javadoc jar at: http://repo2.maven.org/maven2/org/apache/cxf/cxf-bundle/2.3.2/ has EVERYTHING. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
