[英]java config for SpringBeanAutowiringInterceptor in an MDB
我正在嘗試為現有的jaxws服務公開MDB接口。 jaxws實現是使用Spring的java配置進行連接的,我也想將其重用於MDB,將一個委托注入到MDB中,該代理將從onMessage()調用。
我正在嘗試根據文檔使用SpringBeanAutowiringInterceptor。
http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/ejb.html#ejb-implementation-ejb3
但是文檔僅涉及XML配置。 提到了覆蓋getBeanFactory()的選項,但未給出詳細信息。
有沒有辦法在SpringBeanAutowiringInterceptor中使用Spring的Java配置(@Configuration)?
謝謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.