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.

  • May 5, 2023
  • 1 reply
  • 992 views
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.
Best answer by lukasz-m

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

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
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

Keerthi0555
Level 5
May 8, 2023

Thank You.