Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] How could I setup DistributedEventAdmin using DS ?

Hi guys,

Could someone point me how could I setup DistributedEventAdmin using DS ?

Another doubt is, once that I already have setup a remote service using DS (as the hello example below), could I reuse the created container with the DistributedEventAdmin too ?:

<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"; enabled="true" immediate="true" name="org.eclipse.ecf.examples.remoteservices.hello.ds.host"> <implementation class="org.eclipse.ecf.examples.internal.remoteservices.hello.ds.host.HelloComponent"/>
<property name="service.exported.interfaces" type="String" value="*"/>
<property name="service.exported.configs" type="String" value="ecf.generic.server"/> <property name="ecf.exported.containerfactoryargs" type="String" value="ecftcp://localhost:3787/server"/>
<service>
<provide interface="org.eclipse.ecf.examples.remoteservices.hello.IHello"/>
</service>
</scr:component>

Thanks a lot for any tip.

cheers

Cristiano


Back to the top