Remote service registration using OSGi Blueprint [message #625201] |
Sat, 17 April 2010 02:40 |
Raj Saini Messages: 53 Registered: July 2009 |
Member |
|
|
Hi,
I have been looking for some example/samples to register remove services
using OSGi blueprint. The Hello sample does this through Activator and
it uses ECF specific artifacts. Below is the sample service registration
and this works in CXF.
<bean id="omsServiceFacade"
class="com.viithiisys.oms.services.impl.OmsServiceImpl">
<property name="accountManager" ref="accountManager"/>
</bean>
<service ref="omsServiceFacade"
interface="com.viithiisys.oms.services.OmsService">
<service-properties>
<entry key="osgi.jndi.service.name" value="oms/facadeService"/>
<entry key="service.exported.interfaces"
value="com.viithiisys.oms.services.OmsService"/>
<entry key="org.apache.cxf.ws.address"
value="http://localhost:9090/greeter"/>
</service-properties>
</service>
Reason I am asking this question is that the hello example says, I need
to create the ECF container which may not be possible or desirable when
registering services dynamically.
Regards,
Raj
|
|
|
Powered by
FUDForum. Page generated in 0.03542 seconds