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, getDisplayName, getDocumentRoot, getErrorPages, getJspServlet, getMimeMappings, getPort, getSessionTimeout, getSsl, isRegisterDefaultServlet, mergeInitializers, setAddress, setContextPath, setDisplayName, setDocumentRoot, setErrorPages, setInitializers, setJspServlet, setJspServletClassName, setMimeMappings, setPort, setRegisterDefaultServlet, setRegisterJspServlet, 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.Copyright © 2015 Pivotal Software, Inc.. All rights reserved.