|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.engine.EngineConstants
@Deprecated 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
Deprecated. as of bundle version 2.1 |
static java.lang.String |
SLING_CURRENT_SERVLET_NAME
Deprecated. Use SlingConstants.SLING_CURRENT_SERVLET_NAME |
static java.lang.String |
SLING_HOME
Deprecated. Use org.apache.sling.settings.SlingSettingsService#SLING_HOME |
static java.lang.String |
SLING_HOME_URL
Deprecated. Use org.apache.sling.settings.SlingSettingsService#SLING_HOME_URL |
static java.lang.String |
SLING_SERLVET_NAME
Deprecated. |
| Constructor Summary | |
|---|---|
EngineConstants()
Deprecated. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final java.lang.String SLING_HOME
org.apache.sling.settings.SlingSettingsService#SLING_HOME
This property is available calling the
BundleContext.getProperty(String) method.
SLING_HOME_URL,
Constant Field Values@Deprecated public static final java.lang.String SLING_HOME_URL
org.apache.sling.settings.SlingSettingsService#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 Values@Deprecated public static final java.lang.String SLING_CURRENT_SERVLET_NAME
SlingConstants.SLING_CURRENT_SERVLET_NAMEServlet.service() method and reset to any previously
stored value after the service method returns.
@Deprecated 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.
@Deprecated public static final java.lang.String SESSION
javax.jcr.Session request attribute used to be set by
the SlingAuthenticator upon successfull authentication. With
the implementation of a separate Commons Authentication bundle, this
request attribute is not supported any longer (though it may currently
still be provided for backwards compatibility).
Applications using this request attribute have to be modified to call
the SlingHttpServletRequest.getResourceResolver() method
to get the request's resource resolver.
| Constructor Detail |
|---|
public EngineConstants()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||