rmi 服務3

<!-- 發佈RMI服務 -->
 <osgi:reference id="kernelApp"
  interface="com.hs.lego.core.sdk.base.structure.IApplication" />

 <bean id="bizApp" class="com.hs.ism.rm.service.ReplicationManagerApplication"
  depends-on="kernelApp">
 </bean>

 <osgi:service ref="bizApp"
  interface="com.hs.lego.core.sdk.base.structure.IApplication"></osgi:service>

 

 <!-- <bean id="queryServiceStatus" class="com.hs.ism.business.webservice.impl.AbstractServiceStatusQueryService">
  <property name="container" ref="bizApp" /> </bean> -->

 

 <!-- 遠程複製服務 -->
 <!-- <osgi:reference id="replicationHandler" interface="com.hs.ism.drm.sdk.service.replication.IReplicationPairHandler"
  /> -->

 <bean id="replicationHandler"
  class="com.hs.ism.rm.service.impl.replication.ReplicationPairHandlerImpl">
 </bean>


 <bean id="replicationPairService"
  class="com.hs.ism.rm.service.impl.replication.ReplicationPairServiceImpl">
  <property name="container" ref="bizApp"></property>
  <property name="moDao" ref="moDao"></property>
  <property name="replicationHandler" ref="replicationHandler"></property>
  <property name="scopeManager" ref="scopeManager"></property>
 </bean>

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章