public abstract class AbstractEmbeddedServletContainerFactory extends AbstractConfigurableEmbeddedServletContainer implements EmbeddedServletContainerFactory
EmbeddedServletContainerFactory
implementations.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractEmbeddedServletContainerFactory() |
AbstractEmbeddedServletContainerFactory(int port) |
AbstractEmbeddedServletContainerFactory(String contextPath,
int port) |
Modifier and Type | Method and Description |
---|---|
protected File |
createTempDir(String prefix)
Returns the absolute temp dir for given servlet container.
|
protected File |
getValidDocumentRoot()
Returns the absolute document root when it points to a valid directory, logging a
warning and returning
null otherwise. |
protected File |
getValidSessionStoreDir() |
protected File |
getValidSessionStoreDir(boolean mkdirs) |
addErrorPages, addInitializers, getAddress, getCompression, getContextPath, getDisplayName, getDocumentRoot, getErrorPages, getJspServlet, getMimeMappings, getPort, getSessionStoreDir, getSessionTimeout, getSsl, isPersistSession, isRegisterDefaultServlet, mergeInitializers, setAddress, setCompression, setContextPath, setDisplayName, setDocumentRoot, setErrorPages, setInitializers, setJspServlet, setJspServletClassName, setMimeMappings, setPersistSession, setPort, setRegisterDefaultServlet, setRegisterJspServlet, setSessionStoreDir, setSessionTimeout, setSessionTimeout, setSsl, shouldRegisterJspServlet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEmbeddedServletContainer
public AbstractEmbeddedServletContainerFactory()
public AbstractEmbeddedServletContainerFactory(int port)
public AbstractEmbeddedServletContainerFactory(String contextPath, int port)
protected final File getValidDocumentRoot()
null
otherwise.protected final File getValidSessionStoreDir()
protected final File getValidSessionStoreDir(boolean mkdirs)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.