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 |
getValidDocumentRoot()
Returns the absolute document root when it points to a valid folder, logging a
warning and returning
null otherwise. |
addErrorPages, addInitializers, getAddress, getContextPath, getDocumentRoot, getErrorPages, getJspServletClassName, getMimeMappings, getPort, getSessionTimeout, getSsl, isRegisterDefaultServlet, isRegisterJspServlet, mergeInitializers, setAddress, setContextPath, setDocumentRoot, setErrorPages, setInitializers, setJspServletClassName, setMimeMappings, setPort, setRegisterDefaultServlet, setRegisterJspServlet, setSessionTimeout, setSessionTimeout, setSsl
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.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.