Closed nailtonvieira closed 8 years ago
Hello @cschneider
I'm implementing in Karaf 3.0.6 a bundle. In this bundle I'm trying get info about all CXF services registered in my Karaf.
Using the karaf console it's simple: $cxf:list-endpoints
But I want do it using Java code. I tired:
reference-list id="busList" member-type="service-object" interface="org.apache.cxf.Bus"
And
bean id="myTransform" class="me.rerun.karafcxf.camel.MyTransform"> property name="busList" ref="busList" bean
In Blueprint
INFO: Bundle pswot-gateway-zeroconf.rest/1.0.0.SNAPSHOT is waiting for dependencies [(objectClass=org.apache.cxf.Bus), (objectClass=me.rerun.karafcxf.service.impl.HelloService)]
But it doesn't work. You can help-me?
Hello @cschneider
I'm implementing in Karaf 3.0.6 a bundle. In this bundle I'm trying get info about all CXF services registered in my Karaf.
Using the karaf console it's simple: $cxf:list-endpoints
But I want do it using Java code. I tired:
reference-list id="busList" member-type="service-object" interface="org.apache.cxf.Bus"
And
bean id="myTransform" class="me.rerun.karafcxf.camel.MyTransform"> property name="busList" ref="busList" bean
In Blueprint
INFO: Bundle pswot-gateway-zeroconf.rest/1.0.0.SNAPSHOT is waiting for dependencies [(objectClass=org.apache.cxf.Bus), (objectClass=me.rerun.karafcxf.service.impl.HelloService)]
But it doesn't work. You can help-me?