Servlet invocation other than through resourceType and resourcePaths. | Community
Skip to main content
Level 2
May 5, 2023
Solved

Servlet invocation other than through resourceType and resourcePaths.

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}]"
})
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
lukasz-m
lukasz-mAccepted solution
New Participant
May 5, 2023

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.

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

2 replies

lukasz-m
lukasz-mAccepted solution
New Participant
May 5, 2023

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.

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

Translate
Keerthi0555
Level 5
May 8, 2023

Thank You.

Translate