I have requirement to inject dependency in abstract superclass using spring framework.
class A extends AbstractClassB{ private Xdao daox ; ... p
You can use the abstract flag of Spring to tell Spring that a class is abstract. Then all concrete implementations can simply mark this bean as their parent bean.