Uses of Interface
com.composum.sling.core.BeanContext
-
-
Uses of BeanContext in com.composum.sling.clientlibs.processor
Methods in com.composum.sling.clientlibs.processor with parameters of type BeanContext Modifier and Type Method Description static RendererContextRendererContext. instance(BeanContext context, org.apache.sling.api.SlingHttpServletRequest request)Constructors in com.composum.sling.clientlibs.processor with parameters of type BeanContext Constructor Description RendererContext(BeanContext context, org.apache.sling.api.SlingHttpServletRequest request) -
Uses of BeanContext in com.composum.sling.core
Classes in com.composum.sling.core that implement BeanContext Modifier and Type Class Description static classBeanContext.AbstractContextthe base class of the context interface with general methodsstatic classBeanContext.AbstractScriptContextthe enhancement of the base for scripting contextsstatic classBeanContext.Mapa Map based implementation of the context interface (e.g.static classBeanContext.Pagea JSP PageContext based implementation of the context interfacestatic classBeanContext.Servicea Service based implementation for a background service or a job executionstatic classBeanContext.Servleta servlet API based implementation of the context interface for Beans in a Servlet contextstatic classBeanContext.Wrappera wrapper implementation baseFields in com.composum.sling.core declared as BeanContext Modifier and Type Field Description protected BeanContextBeanContext.Wrapper. beanContextprotected BeanContextAbstractSlingBean. contextthe instance of the scripting context for the bean (initialized)Methods in com.composum.sling.core that return BeanContext Modifier and Type Method Description BeanContextBeanContext.AbstractContext. withLocale(Locale locale)BeanContextBeanContext. withLocale(Locale locale)Returns a clone of this context with the locale overridden, orthisif it already had this locale.BeanContextBeanContext.Wrapper. withLocale(Locale locale)BeanContextBeanContext.Page. withResource(org.apache.sling.api.resource.Resource resource)BeanContextBeanContext. withResource(org.apache.sling.api.resource.Resource resource)Returns a clone of this context with the resource overridden, orthisif it already had this resource.BeanContextBeanContext.Wrapper. withResource(org.apache.sling.api.resource.Resource resource)Methods in com.composum.sling.core with parameters of type BeanContext Modifier and Type Method Description voidAbstractServletBean. initialize(BeanContext context)extract the resource referenced to display in the browsers view as the components resourcevoidAbstractSlingBean. initialize(BeanContext context)Uses the contexts 'resource' attribute for initialization (content.getResource()).voidAbstractSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)This basic initialization sets up the context and resource attributes only, all the other attributes are set 'lazy' during their getter calls.voidSlingBean. initialize(BeanContext context)Deprecated.please useadaptTo(Class)with the needed SlingBean class to instantiate the object, sinceSlingBean.initialize(BeanContext)doesn't initialize fields injected by Sling-Models.voidSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)Deprecated.please usewithResource(Resource).adaptTo(Class)with the needed SlingBean class to instantiate the object, sinceSlingBean.initialize(BeanContext, Resource)doesn't initialize fields injected by Sling-Models.Constructors in com.composum.sling.core with parameters of type BeanContext Constructor Description AbstractServletBean(BeanContext context)AbstractServletBean(BeanContext context, org.apache.sling.api.resource.Resource resource)AbstractSlingBean(BeanContext context)initialize bean using the context with the 'resource' attribute withinAbstractSlingBean(BeanContext context, org.apache.sling.api.resource.Resource resource)initialize bean using the context an the resource given explicitlyResourceModel(BeanContext context)initialize bean using the context with the 'resource' attribute withinResourceModel(BeanContext context, org.apache.sling.api.resource.Resource resource)initialize bean using the context an the resource given explicitlyWrapper(BeanContext beanContext)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.Resource resourceToUse)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.ResourceResolver resolverToUse)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.ResourceResolver resolverToUse, org.apache.sling.api.resource.Resource resourceToUse) -
Uses of BeanContext in com.composum.sling.core.bean
Methods in com.composum.sling.core.bean with parameters of type BeanContext Modifier and Type Method Description @NotNull SlingBeanSlingBeanFactory. createBean(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource, @NotNull Class<? extends SlingBean> type) -
Uses of BeanContext in com.composum.sling.core.request
Methods in com.composum.sling.core.request with parameters of type BeanContext Modifier and Type Method Description static DomIdentifiersDomIdentifiers. getInstance(BeanContext context) -
Uses of BeanContext in com.composum.sling.core.security
Constructors in com.composum.sling.core.security with parameters of type BeanContext Constructor Description SetupConfiguration(BeanContext context)SetupConfiguration(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.core.servlet
Methods in com.composum.sling.core.servlet that return BeanContext Modifier and Type Method Description protected BeanContextAbstractConsoleServlet. createContext(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)Methods in com.composum.sling.core.servlet with parameters of type BeanContext Modifier and Type Method Description protected booleanAbstractConsoleServlet. checkConsoleAccess(BeanContext context)Check access rights to the servlets path - is checking ACLs of the console pathprotected StringAbstractConsoleServlet. getConsolePath(BeanContext context)extension point to check access rights for a console feature by feature pathprotected abstract PatternAbstractConsoleServlet. getPathPattern(BeanContext context)protected abstract StringAbstractConsoleServlet. getResourceType(BeanContext context)protected abstract StringAbstractConsoleServlet. getServletPath(BeanContext context)protected voidAbstractConsoleServlet. prepareForward(BeanContext context, org.apache.sling.api.request.RequestDispatcherOptions options) -
Uses of BeanContext in com.composum.sling.core.user
Methods in com.composum.sling.core.user with parameters of type BeanContext Modifier and Type Method Description voidUserProfile. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)Constructors in com.composum.sling.core.user with parameters of type BeanContext Constructor Description UserProfile(BeanContext context)UserProfile(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.core.util
Methods in com.composum.sling.core.util with parameters of type BeanContext Modifier and Type Method Description static org.apache.sling.api.resource.ResourceConsoleUtil. getConsoleResource(BeanContext context)determines the addressed resource by the suffix if the requests resource is the servlet itself -
Uses of BeanContext in com.composum.sling.cpnl
Fields in com.composum.sling.cpnl declared as BeanContext Modifier and Type Field Description protected BeanContextCpnlBodyTagSupport. contextprotected BeanContextCpnlTagSupport. contextprotected BeanContextDefineObjectsTag. contextMethods in com.composum.sling.cpnl that return BeanContext Modifier and Type Method Description protected BeanContextCpnlBodyTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)protected BeanContextCpnlTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)protected BeanContextDefineObjectsTag. createContext(javax.servlet.jsp.PageContext pageContext)Methods in com.composum.sling.cpnl with parameters of type BeanContext Modifier and Type Method Description org.apache.sling.api.resource.ResourceComponentTag. getModelResource(BeanContext context)Hook that can change the resource used forComponentTag.createComponent()if necessary.
-