[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] How to consume HelloWorld remote OSGI Samples in eclipse platform

Hi,

Since the service tracker based hello service did not work, I tried
out DS based hello service example. there are no errors on the screen,
yet the .ds.hello.consumer doesnot print any output on to console.

Here I have copied the component info of hello.ds.consumer.

osgi> ls
All Components:
ID	State			Component Name			Located in bundle
1	Active		org.eclipse.ecf.examples.remoteservices.hello.ds.consumer			org.eclipse.ecf.examples.remoteservices.hello.ds.consumer(bid=12)

osgi> comp 1
	Component[
	name = org.eclipse.ecf.examples.remoteservices.hello.ds.consumer
	activate = activate
	deactivate = deactivate
	modified =
	configuration-policy = optional
	factory = null
	autoenable = true
	immediate = true
	implementation =
org.eclipse.ecf.examples.internal.remoteservices.hello.ds.consumer.HelloClientComponent
	state = Unsatisfied
	properties =
	serviceFactory = false
	serviceInterface = null
	references = {
		Reference[name = IHello, interface =
org.eclipse.ecf.examples.remoteservices.hello.IHello, policy =
dynamic, cardinality = 0..n, target = null, bind = bindHello, unbind =
null]
	}
	located in bundle =
org.eclipse.ecf.examples.remoteservices.hello.ds.consumer_2.0.0.qualifier
[12]
]
Dynamic information :
  The component is satisfied
  The following references are not satisfied:
    Reference[name = IHello, interface =
org.eclipse.ecf.examples.remoteservices.hello.IHello, policy =
dynamic, cardinality = 0..n, target = null, bind = bindHello, unbind =
null]
  Component configurations :
    Configuration properties:
      component.name = org.eclipse.ecf.examples.remoteservices.hello.ds.consumer
      component.id = 1
    Instances:
      org.eclipse.equinox.internal.ds.impl.ComponentInstanceImpl@4406cef4


osgi>


thanks,
--Pradeep