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

How to create an instance of ConfigurationAdmin without using the @Reference annotation

Avatar

Avatar
Validate 10
Level 3
roberth55706517
Level 3

Likes

3 likes

Total Posts

101 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 5
View profile

Avatar
Validate 10
Level 3
roberth55706517
Level 3

Likes

3 likes

Total Posts

101 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 5
View profile
roberth55706517
Level 3

22-10-2015

The @Reference annotation doesn't work with all classes. I'd like to know if there is a way to create an instance using a static method on a factory class or if there is some other way. I've tried using the @Reference annotation in a utility class but it doesn't resolve the ConfigurationAdmin.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 7
taciac
Level 7

Likes

17 likes

Total Posts

341 posts

Correct Reply

188 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
taciac
Level 7

02-12-2015

Hi Robert,

Is this related to AEM? If so, please repost this question in the AEM forum here: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Thank you,

Tacia

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct Reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
shekhardhiman
Employee

Likes

51 likes

Total Posts

688 posts

Correct Reply

330 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
shekhardhiman
Employee

23-10-2015

Hi there,

Thank you for reaching out to Adobe Community.

Which product exactly is it related to?

Thanks!