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 RendererContext
RendererContext. 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 class
BeanContext.AbstractContext
the base class of the context interface with general methodsstatic class
BeanContext.AbstractScriptContext
the enhancement of the base for scripting contextsstatic class
BeanContext.Map
a Map based implementation of the context interface (e.g.static class
BeanContext.Page
a JSP PageContext based implementation of the context interfacestatic class
BeanContext.Service
a Service based implementation for a background service or a job executionstatic class
BeanContext.Servlet
a servlet API based implementation of the context interface for Beans in a Servlet contextstatic class
BeanContext.Wrapper
a wrapper implementation baseFields in com.composum.sling.core declared as BeanContext Modifier and Type Field Description protected BeanContext
BeanContext.Wrapper. beanContext
protected BeanContext
AbstractSlingBean. context
the instance of the scripting context for the bean (initialized)Methods in com.composum.sling.core that return BeanContext Modifier and Type Method Description BeanContext
BeanContext.AbstractContext. withLocale(Locale locale)
BeanContext
BeanContext. withLocale(Locale locale)
Returns a clone of this context with the locale overridden, orthis
if it already had this locale.BeanContext
BeanContext.Wrapper. withLocale(Locale locale)
BeanContext
BeanContext.Page. withResource(org.apache.sling.api.resource.Resource resource)
BeanContext
BeanContext. withResource(org.apache.sling.api.resource.Resource resource)
Returns a clone of this context with the resource overridden, orthis
if it already had this resource.BeanContext
BeanContext.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 void
AbstractServletBean. initialize(BeanContext context)
extract the resource referenced to display in the browsers view as the components resourcevoid
AbstractSlingBean. initialize(BeanContext context)
Uses the contexts 'resource' attribute for initialization (content.getResource()).void
AbstractSlingBean. 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.void
SlingBean. 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.void
SlingBean. 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 SlingBean
SlingBeanFactory. 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 DomIdentifiers
DomIdentifiers. 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 BeanContext
AbstractConsoleServlet. 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 boolean
AbstractConsoleServlet. checkConsoleAccess(BeanContext context)
Check access rights to the servlets path - is checking ACLs of the console pathprotected String
AbstractConsoleServlet. getConsolePath(BeanContext context)
extension point to check access rights for a console feature by feature pathprotected abstract Pattern
AbstractConsoleServlet. getPathPattern(BeanContext context)
protected abstract String
AbstractConsoleServlet. getResourceType(BeanContext context)
protected abstract String
AbstractConsoleServlet. getServletPath(BeanContext context)
protected void
AbstractConsoleServlet. 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 void
UserProfile. 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.Resource
ConsoleUtil. 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 BeanContext
CpnlBodyTagSupport. context
protected BeanContext
CpnlTagSupport. context
protected BeanContext
DefineObjectsTag. context
Methods in com.composum.sling.cpnl that return BeanContext Modifier and Type Method Description protected BeanContext
CpnlBodyTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)
protected BeanContext
CpnlTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)
protected BeanContext
DefineObjectsTag. 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.Resource
ComponentTag. getModelResource(BeanContext context)
Hook that can change the resource used forComponentTag.createComponent()
if necessary.
-