public class WebAppConfigSource extends BaseConfigSource implements org.springframework.web.context.ServletContextAware
| Constructor and Description |
|---|
WebAppConfigSource(List<String> sourceStrings) |
WebAppConfigSource(String filename)
Constructs a webapp configuration source that uses a single file
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(String sourceString) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
addSourceString, getConfigDeploymentspublic WebAppConfigSource(String filename)
filename - the name of the file from which to get configWebAppConfigSource(java.util.List)public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwareServletContextAware.setServletContext(javax.servlet.ServletContext)public InputStream getInputStream(String sourceString)
getInputStream in class BaseConfigSourceBaseConfigSource.getInputStream(java.lang.String)Copyright © 2005–2018 Alfresco Software. All rights reserved.