We have some factory classes but they are often not as convenient to use as the namespaces.

In any case it would be interesting to see what you did. Can you open a jira and attach your code as a patch? If it is just a few lines you can also just paste the code or point to a github repo or similar.

Christian

On 09.12.2013 15:05, pbielicki wrote:
Hi,

in order to integrate CXF with Spring developers need to go through an XML
file, right (i.e.
http://cxf.apache.org/docs/writing-a-service-with-spring.html)?

Is it possible out-of-the box to integrate CXF with Spring using
annotation-driven context configuration? I am talking about
@org.springframework.context.annotation.Configuration and
@org.springframework.context.annotation.ComponentScan annotations
(http://docs.spring.io/spring/docs/3.2.x/javadoc-api/org/springframework/context/annotation/Configuration.html).
Are they supported by CXF integration?

The goal is to avoid any XML configuration.

If it's not part of CXF I may help because I just implemented such
integration (few lines of code, really), and I find it pretty useful.

Please let me know what you think? I wanted to open a JIRA issue straight
away but I prefer to ask you before.

Cheers,
Przemyslaw Bielicki



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Spring-integration-using-Configuration-ComponentScan-annotations-tp5737561.html
Sent from the cxf-dev mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to