[英]Conflict with Spring Framework and and Apache CXF dependencies - 'No Such Method'
[英]How Apache CXF technically integrates with Spring Framework
我知道可以通過聲明某些CXF Bean將Apache CXF與Spring結合使用,但是想知道這些框架在技術上如何相互集成。
CXF庫是否提供Spring已知的某些服務提供程序接口 ,因此Spring對此進行掃描,實例化服務並對其進行控制? 還是CXF為Spring集成實現了其他標准機制? 如果是這樣,這個標准是什么?
還是在類路徑中,CXF庫是否公開Spring注釋/ bean聲明以參與Spring配置?
從類路徑上的這兩個框架以及它們一起運行所需的配置中,我在哪里可以找到Spring如何控制CXF的確切順序? 在哪一側掃描哪個配置,哪個調用哪個API等。
CXF是Bus,其默認實現是SpringBusFactory,它將掃描某些Spring xml bean配置文件。 您可以在http://cxf.apache.org/docs/cxf-architecture.html#CXFArchitecture-Bus或查看源代碼中找到更多信息: https : //github.com/apache/cxf/blob/master/核心/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.