|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sling.engine.EngineConstants
public class EngineConstants
The CoreConstants
interface provides some symbolic constants
for well known constant strings in Sling. Even though these constants will
never change, it is recommended that applications refer to the symbolic
constants instead of code the strings themselves.
Field Summary | |
---|---|
static java.lang.String |
SESSION
The name of the request attribute set by the org.apache.sling.engine.impl.auth.SlingAuthenticator
when authenticating the request user (value is "javax.jcr.Session"). |
static java.lang.String |
SLING_CURRENT_SERVLET_NAME
The name of the request attribute providing the name of the currently executing servlet (value is "sling.core.current.servletName"). |
static java.lang.String |
SLING_HOME
The name of the framework property defining the Sling home directory (value is "sling.home"). |
static java.lang.String |
SLING_HOME_URL
The name of the framework property defining the Sling home directory as an URL (value is "sling.home.url"). |
static java.lang.String |
SLING_SERLVET_NAME
The name of the service registration property of a Servlet registered as a service containing the name of the servlet (value is "sling.core.servletName"). |
Constructor Summary | |
---|---|
EngineConstants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SLING_HOME
This property is available calling the
BundleContext.getProperty(String)
method.
SLING_HOME_URL
,
Constant Field Valuespublic static final java.lang.String SLING_HOME_URL
The value of this property is assigned the value of
new File(${sling.home}).toURI().toString()
before
resolving the property variables.
This property is available calling the
BundleContext.getProperty(String)
method.
SLING_HOME
,
Constant Field Valuespublic static final java.lang.String SLING_CURRENT_SERVLET_NAME
Servlet.service()
method and reset to any previously
stored value after the service method returns.
public static final java.lang.String SLING_SERLVET_NAME
component.name
property or the service.pid
is used. If none of the three properties is defined, the Servlet is
ignored.
public static final java.lang.String SESSION
org.apache.sling.engine.impl.auth.SlingAuthenticator
when authenticating the request user (value is "javax.jcr.Session").
Existence of this attribute in the request, provided it is a JCR Session,
signals that authentication has already taken place. This may be used
when including through the servlet container.
Constructor Detail |
---|
public EngineConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |