Class SlingContext

    • Constructor Detail

      • SlingContext

        public SlingContext()
        Initialize Sling context.
      • SlingContext

        public SlingContext​(@NotNull
                            @NotNull ResourceResolverType resourceResolverType)
        Initialize Sling context.
        Parameters:
        resourceResolverType - Resource resolver type.
    • Method Detail

      • setUpContext

        protected void setUpContext()
        This is called by SlingContextExtension to set up context.
      • tearDownContext

        protected void tearDownContext()
        This is called by SlingContextExtension to tear down context.