Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Remote service registration using OSGi Blueprint
Remote service registration using OSGi Blueprint [message #625201] Sat, 17 April 2010 02:40
Raj Saini is currently offline 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
Previous Topic:Problem with ECF Hello examples
Next Topic:Problem with ECF Hello examples
Goto Forum:
  


Current Time: Sat Oct 25 03:04:49 GMT 2014

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software