public abstract class AbstractWebApplicationConfigurer
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected org.springframework.core.env.ConfigurableEnvironment |
env |
static Logger |
logger |
protected org.springframework.web.context.WebApplicationContext |
webApplicationContext |
Constructor and Description |
---|
AbstractWebApplicationConfigurer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addErrorMessageToServletContextAttributes(java.lang.String errorMessage) |
void |
afterPropertiesSet() |
protected java.lang.String |
findProperty(java.lang.String property,
boolean required)
Find a property primarily in the ServletContext and secondarily
in the environment variables of the OS.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static final Logger logger
@Autowired protected org.springframework.core.env.ConfigurableEnvironment env
protected org.springframework.web.context.WebApplicationContext webApplicationContext
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
protected java.lang.String findProperty(java.lang.String property, boolean required)
-Dcdm.rootpathprefix=my/cdm/remote-instance
~/.cdmLibrary/cdmlib-remote.properties
property
- usually a string constant defined in a subclass of
AbstractWebApplicationConfigurer
names ATTRIBUTE_*
required
- protected void addErrorMessageToServletContextAttributes(java.lang.String errorMessage)
Copyright © 2007-2020 EDIT. All Rights Reserved.