Aksanth
Aksanth

Reputation: 319

Felix and OSGi - How to specify Parent and Abstract Classes

I am using Apache Felix with BluePrint for the Dependency configuration.

I have a usecase where Abstract Parent and Child classes are involved. How the dependancy is mapped in the Blueprint for these classes. i am not able to see the Abstract & Parent fields in the BluePrint.xml (It fails saying parent and Abstract and Parent are not valid fields )

<bean id="parentAbstractClass"
    class="com.sun.AbstractClass">
    <property name="data1" ref="data1" />
    <property name="data2" ref="data2" />
</bean>

<bean id="ImplClass"
    class="com.sun.ImplClass" />

Java Class:

 Class AbstractClass {

}

Class ImplClass extends AbstractClass {

}

Thanks,

Upvotes: 1

Views: 203

Answers (0)

Related Questions