@Component(value="TdsContext") public final class TdsContext extends Object implements org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
LOOK would be nice to make Immutable
| Constructor and Description |
|---|
TdsContext() |
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwarepublic javax.servlet.ServletContext getServletContext()
public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic String getContextPath()
public String getWebappVersion()
public String getTdsVersionBuildDate()
public String getVersionInfo()
public String getWebappDisplayName()
public File getServletRootDirectory()
public File getTomcatLogDirectory()
public File getThreddsDirectory()
public File getContentRootDir()
public FileSource getPublicContentDirSource()
public javax.servlet.RequestDispatcher getDefaultRequestDispatcher()
public String getContentRootPathProperty()
public String getConfigFileProperty()
public File getUploadDir()
public File getDownloadDir()
public File getUploadForm()
public File getDownloadForm()
public String getTdsDebugFlags()
public void setContentRootPathProperty(String contentRootPathProperty)
public void setUploadDirProperty(String uploadDirProperty)
public void setDownloadDirProperty(String downloadDirProperty)
public void setUploadFormProperty(String uploadFormProperty)
public void setDownloadFormProperty(String downloadFormProperty)