since ‎09-09-2019
‎05-02-2020
jamesc25111500
Level 1
Re: How to share a configuration across multiple bundles... jamesc25111500 - Adobe Experience Manager
Yes, you are right. I did realize this problem after digging into configuration factory.
770
Views
0
Likes
0
Comments
Re: How to share a configuration across multiple bundles... jamesc25111500 - Adobe Experience Manager
Thank you, Jbrar. I think this is what I need.
783
Views
0
Likes
0
Comments
How to share a configuration across multiple bundles in AEM6.4 jamesc25111500 - Adobe Experience Manager
Hello, I have multiples OSGi bundles that use the same configuration properties. Now I create a below service for each bundle:@ObjectClassDefinition(name = "My configuration service", description = "Configuration for bundle")public @interface MyConfig { @AttributeDefinition(name = "My API:", description = "API endpoint for project", type = AttributeType.STRING) String myPropAPI() default "....";...}@activateprotected void activate(final MyConfig config) { this.api_endpoint = this.config.myPropAP...
1245
Views
0
Likes
4
Answers and Comments