public abstract class AbstractClientBootstrapper extends Bootstrapper
client.xml
$USER_HOME
is the home directory for the current user and $USER_DIR
is he current invocation directory.
If all of these locations as well as the servlet context have been checked for usable configurations
and none is found, an error is issued stating there is no usable configuration.Bootstrapper} for more details.
Created by Jeff Gaynor
on 11/25/13 at 11:24 AM
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONFIG_FILE_NAME |
static String[] |
DEFAULT_CONFIG_LOCATIONS |
protected static String |
OA4MP_CONFIG_FILE_KEY |
protected static String |
OA4MP_CONFIG_NAME_KEY |
Constructor and Description |
---|
AbstractClientBootstrapper() |
Modifier and Type | Method and Description |
---|---|
ConfigurationLoader |
getConfigurationLoader(javax.servlet.ServletContext servletContext) |
String |
getOa4mpConfigFileKey() |
String |
getOa4mpConfigNameKey() |
ConfigurationLoader |
loadFromDefaultLocations(MyLoggingFacade logger,
String configName) |
contextDestroyed, contextInitialized, getConfigurationLoader, getInitialization
protected static final String OA4MP_CONFIG_FILE_KEY
protected static final String OA4MP_CONFIG_NAME_KEY
public static final String DEFAULT_CONFIG_FILE_NAME
public static final String[] DEFAULT_CONFIG_LOCATIONS
public String getOa4mpConfigFileKey()
public String getOa4mpConfigNameKey()
public ConfigurationLoader loadFromDefaultLocations(MyLoggingFacade logger, String configName) throws Exception
Exception
public ConfigurationLoader getConfigurationLoader(javax.servlet.ServletContext servletContext) throws Exception
getConfigurationLoader
in class Bootstrapper
Exception
Copyright © 2019. All Rights Reserved.