Class AbstractServletBean

  • All Implemented Interfaces:
    RestrictedBean, SlingBean
    Direct Known Subclasses:
    ConsoleServletBean

    public abstract class AbstractServletBean
    extends AbstractSlingBean
    the abstract model base class for Composum Console components addressed by a forward from a console servlet with the models resource path in the requests suffix
    • Constructor Detail

      • AbstractServletBean

        public AbstractServletBean​(BeanContext context,
                                   org.apache.sling.api.resource.Resource resource)
      • AbstractServletBean

        public AbstractServletBean​(BeanContext context)
      • AbstractServletBean

        public AbstractServletBean()
    • Method Detail

      • initialize

        public void initialize​(BeanContext context)
        extract the resource referenced to display in the browsers view as the components resource
        Specified by:
        initialize in interface SlingBean
        Overrides:
        initialize in class AbstractSlingBean
        Parameters:
        context - the scripting context (e.g. a JSP PageContext or a Groovy scripting context)