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] Fri, 16 April 2010 22: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: Fri Aug 29 01:34:22 EDT 2014

Powered by FUDForum. Page generated in 0.02173 seconds