org.apache.sling.launchpad.base.shared
Interface SharedConstants


public interface SharedConstants


Field Summary
static String DEFAULT_SLING_LAUNCHER_JAR
          The absolute path to the launcher JAR file in the archive to copy to the sling.home directory.
static String DEFAULT_SLING_LISTENER
          The fully qualified name of the implementation of the Servlet API ServletContextListener, HttpSessionListener, and HttpSessionAttributeListener interfaces to which the respective events are forwarded.
static String DEFAULT_SLING_MAIN
          The fully qualified name of the class used by the Standalone Java Application main class to control the framework.
static String DEFAULT_SLING_SERVLET
          The fully qualified name of the class used by the Sling Web Applicaiton servlet to control the framework.
static 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
static 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.
static String LAUNCHER_JAR_REL_PATH
          The name of the file providing the Launcher JAR.
static String SLING_HOME
          The name of the configuration property defining the Sling home directory (value is "sling.home").
static String SLING_HOME_DEFAULT
          Default sling.home value if no other value can be resolvled (value is "sling").
static String SLING_PROPERTIES
          The name of the configuration property defining the Sling properties file (value is "sling.properties").
static String SLING_PROPERTIES_URL
          The name of the configuration property defining the Sling properties url (value is "sling.properties.url").
 

Field Detail

SLING_HOME

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.

See Also:
Constant Field Values

SLING_HOME_DEFAULT

static final String SLING_HOME_DEFAULT
Default sling.home value if no other value can be resolvled (value is "sling").

See Also:
Constant Field Values

DEFAULT_SLING_MAIN

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.

See Also:
Constant Field Values

DEFAULT_SLING_SERVLET

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.

See Also:
Constant Field Values

DEFAULT_SLING_LISTENER

static final String DEFAULT_SLING_LISTENER
The fully qualified name of the implementation of the Servlet API ServletContextListener, HttpSessionListener, and HttpSessionAttributeListener interfaces to which the respective events are forwarded.

See Also:
Constant Field Values

LAUNCHER_JAR_REL_PATH

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).

See Also:
Constant Field Values

DEFAULT_SLING_LAUNCHER_JAR

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.

See Also:
Constant Field Values

DISABLE_PACKAGE_BUNDLE_LOADING

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

See Also:
Constant Field Values

FORCE_PACKAGE_BUNDLE_LOADING

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.

See Also:
Constant Field Values

SLING_PROPERTIES

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
See Also:
Constant Field Values

SLING_PROPERTIES_URL

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
See Also:
Constant Field Values


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.