How to use customize parameter instead of URI in osgi service
example :- protected static final String TEMPLATE = "/apps/example/templates/sampletemplate";
Solved! Go to Solution.
Views
Replies
Total Likes
See this AEM HELPX Article: Reading OSGi Configuration Values for Adobe Experience Manager 6.3
Views
Replies
Total Likes
Can you explain your use case in more detail please?
Views
Replies
Total Likes
Hi,
Can you explain your exact use case, so that further we can help you.
~Ratna Kumar.
Views
Replies
Total Likes
example :- protected static final String TEMPLATE = "/apps/example/templates/sampletemplate";
"/apps/example/templates/sampletemplate"----this value I need to get from service by configuring the service with default value.
How to do configuration in service to set the default value.
Thanks for the response.
Views
Replies
Total Likes
In an OSGI service, You can do the configuration at osgi console for that u need to make your service configuration by setting attribute metatype true in a @component annotation and define the configurable fields
Views
Replies
Total Likes
Thanks for the response.
How to use @property in this case?
Views
Replies
Total Likes
See this AEM HELPX Article: Reading OSGi Configuration Values for Adobe Experience Manager 6.3
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies