public abstract class ResourceBasedWebEnvironment extends DefaultWebEnvironment implements ResourceConfigurable
WebEnvironment
s that can be initialized via resource paths (config files).DEFAULT_SECURITY_MANAGER_KEY, objects
Constructor and Description |
---|
ResourceBasedWebEnvironment() |
Modifier and Type | Method and Description |
---|---|
String[] |
getConfigLocations() |
void |
setConfigLocations(String locations)
Convenience method that accepts a comma-delimited string of config locations (resource paths).
|
void |
setConfigLocations(String[] configLocations)
Sets the configuration locations (resource paths) that will be used to configure the instance.
|
getFilterChainResolver, getSecurityManager, getServletContext, getWebSecurityManager, setFilterChainResolver, setSecurityManager, setServletContext, setWebSecurityManager
destroy, getObject, getObjects, getSecurityManagerName, lookupSecurityManager, setObject, setSecurityManagerName
public ResourceBasedWebEnvironment()
public String[] getConfigLocations()
public void setConfigLocations(String locations)
ResourceConfigurable
setConfigLocations
in interface ResourceConfigurable
locations
- comma-delimited list of config locations (resource paths).public void setConfigLocations(String[] configLocations)
ResourceConfigurable
setConfigLocations
in interface ResourceConfigurable
configLocations
- the configuration locations (resource paths) that will be used to configure the instance.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.