Save This Page
Home » org.apache.sling.launchpad.base-2.2.0-source-release » org.apache.sling.launchpad.base.shared » [javadoc | source]
org.apache.sling.launchpad.base.shared
public interface: SharedConstants [javadoc | source]
Field Summary
public static final  String SLING_HOME    The name of the configuration property defining the Sling home directory (value is "sling.home"). This is a Platform file system directory below which all runtime data, such as the Felix bundle archives, logfiles, Jackrabbit repository, etc., is located.

The value of this property is derived in a launcher specific way, such as system property, command line option, servlet or servlet context init-param, servlet context path, etc. 

public static final  String SLING_HOME_DEFAULT    Default sling.home value if no other value can be resolvled (value is "sling"). 
public static final  String DEFAULT_SLING_MAIN    The fully qualified name of the class used by the Standalone Java Application main class to control the framework. This class implements the Launcher interface. 
public static final  String DEFAULT_SLING_SERVLET    The fully qualified name of the class used by the Sling Web Applicaiton servlet to control the framework. This class implements the javax.servlet.Servlet and Launcher (for setup only) interfaces. 
public static final  String LAUNCHER_JAR_REL_PATH    The name of the file providing the Launcher JAR. On the one hand this is the name used to place the JAR file sling.home to use for startup. On the other hand, this is the name of the file in the archive (see #DEFAULT_SLING_LAUNCHER_JAR ). 
public static final  String DEFAULT_SLING_LAUNCHER_JAR    The absolute path to the launcher JAR file in the archive to copy to the sling.home directory. 
public static final  String DISABLE_PACKAGE_BUNDLE_LOADING    True or false value which controls whether sling will load bundles which are contained in the resources/# path locations in the sling jar or war
The default is to unpack the jars and deploy them to the startup folder in sling home 
public static final  String FORCE_PACKAGE_BUNDLE_LOADING    True or false value which controls whether sling will load bundles which are contained in the resources/# path locations in the sling jar or war
regardless of the modification time of the Launchpad JAR. 
public static final  String SLING_PROPERTIES    The name of the configuration property defining the Sling properties file (value is "sling.properties"). This is a Platform file system file containing the startup configuration of Sling.
    since: 2.2 -
 
public static final  String SLING_PROPERTIES_URL    The name of the configuration property defining the Sling properties url (value is "sling.properties.url"). This is a url pointing to a resource containing the startup configuration of Sling.
    since: 2.2 -