Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Servlet invocation other than through resourceType and resourcePaths.

Avatar

Level 3
IN the below code what does "webconsole.configurationFactory.nameHint =" + "Site Map for: {externalizer.domain}, on resource types: [{sling.servlet.resourceTypes}]" mean?

@Component
(service = Servlet.class,
property = {
"sling.servlet.methods=GET",
Constants.SERVICE_DESCRIPTION + "= Sitemap Index Servlet",
"sling.servlet.extensions=" + "xml",
"webconsole.configurationFactory.nameHint =" + "Site Map for: {externalizer.domain}, on resource types: [{sling.servlet.resourceTypes}]"
})
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @KKeerthi,

In general webconsole.configurationFactory.nameHint allows you to display in OSGi console values set in specific OSGi configuration. In your example values of properties externalizer.domain and sling.servlet.resourceTypes will be shown on GUI level.

osgi-config.jpg

osgi-config-gui.jpg

Please also explore official documentation: https://felix.apache.org/documentation/subprojects/apache-felix-web-console.html#_configuration_fact...

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @KKeerthi,

In general webconsole.configurationFactory.nameHint allows you to display in OSGi console values set in specific OSGi configuration. In your example values of properties externalizer.domain and sling.servlet.resourceTypes will be shown on GUI level.

osgi-config.jpg

osgi-config-gui.jpg

Please also explore official documentation: https://felix.apache.org/documentation/subprojects/apache-felix-web-console.html#_configuration_fact...