AEM6.3 | @Reference aanotation is not working in abstract class

Avatar

Avatar

pradeepdubey82

Avatar

pradeepdubey82

pradeepdubey82

06-03-2018

Hi All,

I am facing issue in AEM6.3(6.1 code was working), @Reference annotation is not working in abstract class.

Same code was working fine in AEM6.1

Below is my code

@Service

public abstract class Test implements ABCIntf {

@Reference (this is not working in 6.3 was working in 6.1)

private Replicator replicator

}

I had no option other than to move @Reference in concrete class.

Please advise if anyone can help.

Thanks,

Pradeep

View Entire Topic

Avatar

Avatar

pradeepdubey82

Avatar

pradeepdubey82

pradeepdubey82

06-03-2018

Hi Donald,

I am going through below link

Deprecated List ("The Adobe AEM Quickstart and Web Application.")

org.apache.felix.scr.annotations

is not showing in deprecated list.

All deprecated API like JcrResourceResolverFactory, OsgiUtil, User, Group, Apache Json etc showing as striked out in code.

Do you have any AEM documentation which clearly states org.apache.felix.scr.annotations is deprecated?

Thanks,

Pradeep