Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

org.apache.felix.scr annotations to org.osgi.service.component - Abstract Components (scr annotations) - AEM 6.4

Avatar

Avatar
Validate 10
Level 3
Premkarthic-7WP
Level 3

Likes

8 likes

Total Posts

60 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 10
Level 3
Premkarthic-7WP
Level 3

Likes

8 likes

Total Posts

60 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
Premkarthic-7WP
Level 3

21-09-2018

Hi,

we are migrating from org.apache.felix.scr annotations to org.osgi.service.component annotations. we have a set of Components that inherit from adobe provided abstract class com.adobe.cq.social.scf.core.AbstractSocialComponentFactory (Developed with scr annotations).

on the super class they have few reference object("@Reference") and that's not get inherited to my ds annotated child classes by default.

Note : Same is working if we add the local reference object with d6 reference annotations.

with maven bundle plugin we tried adding the following configurations to make the inheritance work (by default with osgi d6 annotations inheritance wont happen) but nothing helps.

Any pointer to fix this will help us more.

<configuration>

<instructions>

<_dsannotations>*</_dsannotations>

<_dsannotations-inherit>true</_dsannotations-inherit>

<_metatypeannotations>*</_metatypeannotations>

</instructions>

</configuration>

Replies

Avatar

Avatar
Give Back
Level 1
HendrikK
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
HendrikK
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
HendrikK
Level 1

15-06-2021

Same problem here with com.day.cq.wcm.workflow.process.ReplicatePageProcess. We have no solution so far.