Class ConsoleServletBean

    • Constructor Detail

      • ConsoleServletBean

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

        public ConsoleServletBean​(BeanContext context)
      • ConsoleServletBean

        public ConsoleServletBean()
    • Method Detail

      • initialize

        public void initialize​(BeanContext context,
                               org.apache.sling.api.resource.Resource resource)
        Description copied from class: AbstractSlingBean
        This basic initialization sets up the context and resource attributes only, all the other attributes are set 'lazy' during their getter calls.
        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)
        resource - the resource to use (normally the resource addressed by the request)
        See Also:
        BeanContext.withResource(Resource)