|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.settings.impl.SlingSettingsServiceImpl
public class SlingSettingsServiceImpl
This is the basic implementation of the sling settings service.
Field Summary | |
---|---|
static String |
ENGINE_SYMBOLIC_NAME
|
Fields inherited from interface org.apache.sling.settings.SlingSettingsService |
---|
RUN_MODES_PROPERTY, SLING_HOME, SLING_HOME_URL |
Constructor Summary | |
---|---|
SlingSettingsServiceImpl(org.osgi.framework.BundleContext context)
Create the service and search the Sling home urls and get/create a sling id. |
Method Summary | |
---|---|
Set<String> |
getRunModes()
Return the set of activate run modes. |
URL |
getSlingHome()
Returns the value of the SlingSettingsService.SLING_HOME_URL
property. |
String |
getSlingHomePath()
Returns the value of the SlingSettingsService.SLING_HOME
property. |
String |
getSlingId()
The identifier of the running Sling instance. |
void |
initDelayed(org.osgi.framework.BundleContext context)
|
boolean |
isDelayedStart()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENGINE_SYMBOLIC_NAME
Constructor Detail |
---|
public SlingSettingsServiceImpl(org.osgi.framework.BundleContext context)
context
- The bundle contextMethod Detail |
---|
public String getSlingId()
SlingSettingsService
getSlingId
in interface SlingSettingsService
SlingSettingsService.getSlingId()
public URL getSlingHome()
SlingSettingsService
SlingSettingsService.SLING_HOME_URL
property.
getSlingHome
in interface SlingSettingsService
SlingSettingsService.getSlingHome()
public String getSlingHomePath()
SlingSettingsService
SlingSettingsService.SLING_HOME
property.
getSlingHomePath
in interface SlingSettingsService
SlingSettingsService.getSlingHomePath()
public Set<String> getRunModes()
SlingSettingsService
getRunModes
in interface SlingSettingsService
SlingSettingsService.getRunModes()
public boolean isDelayedStart()
public void initDelayed(org.osgi.framework.BundleContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |