Here's a fragment of a blueprint.xml.

When I start up, I get:

org.osgi.service.blueprint.container.ComponentDefinitionException:
Unable to find property descriptor requestTracker on class
com.basistech.ws.frontend.service.RaasRsCategorizationService

I look around in Karaf, and there is a bundle exporting this interface:

 21 | Active   |  80 | 1.5.0.v20150902072220 |
rosapi-front-end-null-request-tracker
karaf@root>bundle:services 21

rosapi-front-end-null-request-tracker (21) provides:
----------------------------------------------------
[com.basistech.ws.common.requesttracker.RequestTracker]
[org.osgi.service.blueprint.container.BlueprintContainer]

So what's Aries' beef?

Note that setRequestTracker is defined on a class that
RaasRsCategorizationService inherits from.


<reference id="tracker"
interface="com.basistech.ws.common.requesttracker.RequestTracker"/>
<!-- some day properties to tell which transport when we have more than one -->
<reference id="transport" interface="com.basistech.ws.frontend.api.Transport"/>

<!-- This is the moment when we might wish for annotations instead of
plain old blueprint -->
<bean id="categorization"
class="com.basistech.ws.frontend.service.RaasRsCategorizationService">
    <property name="requestTracker" ref="tracker"/>
    <property name="transport" ref="transport"/>
</bean>

Reply via email to