I am missing something here. I am creating a new class and waht to have
the resource resolver factory loaded using the @Reference annotation.But
it is not working and I am always getting an NPE when I use it.Would
someone help me to understand why? What am I
missing?Thanks.@Component(metatype = false, immediate =
true)@Service(value = TestComponent.class)@Properties({
@org.apache.felix.scr.annotations.Property(name =
Constants.SERVICE_DESCRIPTION, value = "TestComponent"),
@org.apache.felix.scr....