|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SlingSettingsService
The SlingSettingsService
provides basic Sling settings.
- Sling home : If the Sling launchpad is used
- Sling Id : A unique id of the installation
Run Mode Support
A run mode is simply a string like "author", "test", "development",...
The server can have a set of active run modes.
Field Summary | |
---|---|
static String |
RUN_MODES_PROPERTY
The name of the framework property defining the set of used run modes. |
static String |
SLING_HOME
The name of the framework property defining the Sling home directory (value is "sling.home"). |
static String |
SLING_HOME_URL
The name of the framework property defining the Sling home directory as an URL (value is "sling.home.url"). |
Method Summary | |
---|---|
Set<String> |
getRunModes()
Return the set of activate run modes. |
URL |
getSlingHome()
Returns the value of the SLING_HOME_URL
property. |
String |
getSlingHomePath()
Returns the value of the SLING_HOME
property. |
String |
getSlingId()
The identifier of the running Sling instance. |
Field Detail |
---|
static final String SLING_HOME
This property is available calling the
BundleContext.getProperty(String)
method.
SLING_HOME_URL
,
Constant Field Valuesstatic final 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 Valuesstatic final String RUN_MODES_PROPERTY
Method Detail |
---|
String getSlingId()
String getSlingHomePath()
SLING_HOME
property.
URL getSlingHome()
SLING_HOME_URL
property.
Set<String> getRunModes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |