public abstract class ResourceBasedWebEnvironment extends DefaultWebEnvironment implements ResourceConfigurable
WebEnvironments 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, setWebSecurityManagerdestroy, getObject, getObjects, getSecurityManagerName, lookupSecurityManager, setObject, setSecurityManagerNamepublic String[] getConfigLocations()
public void setConfigLocations(String locations)
ResourceConfigurablesetConfigLocations in interface ResourceConfigurablelocations - comma-delimited list of config locations (resource paths).public void setConfigLocations(String[] configLocations)
ResourceConfigurablesetConfigLocations in interface ResourceConfigurableconfigLocations - the configuration locations (resource paths) that will be used to configure the instance.Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.