public class DefaultPropertiesLoader extends Object
See Example DefaultPropertiesLoaderListener
.
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTOR_NAME
The Name of the Connector which will be added to the Settings4j Config.
|
static String |
DEFAULT_PROPERTIES
The Init-Parameter Name from the web.xml from where the default properties can be used.
|
Constructor and Description |
---|
DefaultPropertiesLoader() |
Modifier and Type | Method and Description |
---|---|
void |
initDefaultProperties(javax.servlet.ServletContext servletContext)
If the InitParameter "settings4jDefaultProperties" exists in the given
ServletContext , then a Connector
will be added to Settings4j. |
public static final String CONNECTOR_NAME
public static final String DEFAULT_PROPERTIES
public void initDefaultProperties(javax.servlet.ServletContext servletContext)
ServletContext
, then a Connector
will be added to Settings4j.servletContext
- The ServletContext where the InitParameters are configured.Copyright © 2008–2014. All rights reserved.