Annotation Type SlingServletName

    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String PREFIX_
      Prefix for every property being generated from the annotations elements (as defined in OSGi 7 Compendium, 112.8.2.1)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String servletName
      Containing the name of the servlet.
    • Field Detail

      • PREFIX_

        static final java.lang.String PREFIX_
        Prefix for every property being generated from the annotations elements (as defined in OSGi 7 Compendium, 112.8.2.1)
    • Element Detail

      • servletName

        java.lang.String servletName
        Containing the name of the servlet. If this is empty (or not set), the component.name property or the service.pid is used. If none of the three properties is defined, the Servlet is ignored.
        Returns:
        the servlet name
        See Also:
        ServletResolverConstants.SLING_SERVLET_NAME