@Configurable public class ServletContainerConfig extends java.lang.Object implements EnvironmentBean, SchemaBean
Modifier and Type | Class and Description |
---|---|
class |
ServletContainerConfig.ClusterVar
EL variables
|
static class |
ServletContainerConfig.SelectManagerCompat |
class |
ServletContainerConfig.ServerVar |
Constructor and Description |
---|
ServletContainerConfig(ServletService servletContainer)
Creates a new servlet server.
|
Modifier and Type | Method and Description |
---|---|
void |
add(DispatchRule rewrite) |
void |
addEarDefault(EarConfig earConfig)
Adds an EarDefault
|
void |
addErrorPage(ErrorPage errorPage)
Adds an error page
|
void |
addHost(HostConfig host)
Adds the host.
|
void |
addHostDefault(HostConfig hostConfig)
Adds a HostDefault.
|
void |
addHostDeploy(HostExpandDeployGenerator deploy)
Adds a HostDeploy.
|
void |
addJavaExe(java.lang.String args)
Arguments on boot
|
void |
addJvmArg(java.lang.String args)
Arguments on boot
|
void |
addJvmArgLine(java.lang.String args)
Arguments on boot
|
void |
addJvmClasspath(java.lang.String args)
Arguments on boot
|
void |
addLoadBalanceWeight(ConfigProgram program) |
void |
addSelectManager(ServletContainerConfig.SelectManagerCompat selectManager) |
void |
addWatchdogArg(java.lang.String args)
Arguments on boot
|
void |
addWatchdogJvmArg(java.lang.String args)
Arguments on boot
|
void |
addWatchdogLog(ConfigProgram args)
Arguments on boot
|
void |
addWatchdogPassword(java.lang.String args)
Arguments on boot
|
void |
addWatchdogPort(int port)
Arguments on boot
|
void |
addWebAppDefault(WebAppConfig webAppConfig)
Adds a WebAppDefault.
|
AbstractProxyCache |
createCache()
backward compatibility for proxy cache
|
HostExpandDeployGenerator |
createHostDeploy()
Adds a HostDeploy.
|
java.lang.Object |
createJdbcStore() |
Management |
createManagement() |
PersistentStoreConfig |
createPersistentStore()
Creates a persistent store instance.
|
java.lang.Object |
createPing()
Creates the ping.
|
AbstractProxyCache |
createProxyCache()
Creates the proxy cache.
|
RewriteDispatch |
createRewriteDispatch()
Adds rewrite-dispatch.
|
EnvironmentClassLoader |
getClassLoader()
Returns the classLoader
|
long |
getMemoryFreeMin()
Sets the minimum free memory after a GC
|
long |
getPermGenFreeMin()
Sets the minimum free memory after a GC
|
PersistentStoreConfig |
getPersistentStoreConfig()
Creates a persistent store instance.
|
ResinSystem |
getResinSystem() |
java.lang.String |
getSchema()
Returns the relax schema.
|
void |
init()
Initialization.
|
void |
setAccessLog(AccessLog accessLog)
Sets the access log.
|
void |
setAccessLogBufferSize(Bytes bufferSize)
Sets the access log.
|
void |
setAlternateSessionUrlPrefix(java.lang.String urlPrefix)
Sets the alternate session url prefix.
|
void |
setConnectionErrorPage(java.lang.String errorPage)
Sets the connection error page.
|
void |
setDevelopmentModeErrorPage(boolean isEnable)
Development mode error pages.
|
void |
setDynamicServerEnable(boolean isEnable) |
void |
setErrorPageServerId(boolean isEnable)
Development mode error pages.
|
void |
setHeaderCountMax(int max)
Sets the header-count-max
|
void |
setHeaderSizeMax(int max)
Sets the header-size-max
|
void |
setIgnoreClientDisconnect(boolean isIgnore) |
void |
setInvocationCacheSize(int count) |
void |
setLoadBalanceWarmupTime(ConfigProgram program) |
void |
setMaxUriLength(int max)
Sets the url-length-max
|
void |
setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC
|
void |
setRedeployMode(java.lang.String redeployMode)
Sets the redeploy mode
|
void |
setRootDir(Path path)
Sets the root directory.
|
void |
setRootDirectory(Path path)
Sets the root directory.
|
void |
setSendfileEnable(boolean isEnable) |
void |
setSendfileMinLength(Bytes bytes) |
void |
setServerHeader(java.lang.String serverHeader)
Sets the server header.
|
void |
setSessionCookie(java.lang.String sessionCookie)
Sets the session cookie
|
void |
setSessionUrlPrefix(java.lang.String urlPrefix)
Sets the session url prefix.
|
void |
setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.
|
void |
setSSLSessionCookie(java.lang.String cookie)
Sets the ssl session cookie
|
void |
setStage(java.lang.String stage)
Sets the stage id
|
void |
setSystemClassLoader(java.lang.String loader)
The Resin system classloader
|
void |
setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.
|
void |
setThreadIdleMax(int max)
Sets the maximum number of idle threads in the thread pool.
|
void |
setThreadIdleMin(int min)
Sets the minimum number of idle threads in the thread pool.
|
void |
setThreadIdleTimeout(Period timeout) |
void |
setThreadMax(int max)
Sets the maximum thread-based keepalive
|
void |
setUrlCharacterEncoding(java.lang.String encoding)
Sets URL encoding.
|
void |
setUrlLengthMax(int max)
Sets the url-length-max
|
void |
startPersistentStore() |
public ServletContainerConfig(ServletService servletContainer)
public ResinSystem getResinSystem()
public EnvironmentClassLoader getClassLoader()
getClassLoader
in interface EnvironmentBean
public java.lang.String getSchema()
getSchema
in interface SchemaBean
@Configurable public void setDevelopmentModeErrorPage(boolean isEnable)
@Configurable public void setErrorPageServerId(boolean isEnable)
@Configurable public PersistentStoreConfig createPersistentStore()
public PersistentStoreConfig getPersistentStoreConfig()
public void startPersistentStore()
@Configurable public java.lang.Object createJdbcStore() throws ConfigException
ConfigException
@Configurable public void addJavaExe(java.lang.String args)
@Configurable public void addJvmArg(java.lang.String args)
@Configurable public void addJvmArgLine(java.lang.String args)
@Configurable public void addJvmClasspath(java.lang.String args)
@Configurable public void setStage(java.lang.String stage)
@Configurable public void setSystemClassLoader(java.lang.String loader)
@Configurable public void addWatchdogArg(java.lang.String args)
@Configurable public void addWatchdogJvmArg(java.lang.String args)
@Configurable public void addWatchdogLog(ConfigProgram args)
@Configurable public void addWatchdogPassword(java.lang.String args)
@Configurable public void addWatchdogPort(int port)
@Configurable public void setDynamicServerEnable(boolean isEnable)
@Configurable public void setMemoryFreeMin(Bytes min)
public long getMemoryFreeMin()
@Configurable public void setPermGenFreeMin(Bytes min)
public long getPermGenFreeMin()
@Configurable public Management createManagement()
@Configurable public void setRedeployMode(java.lang.String redeployMode)
@Configurable public void setShutdownWaitMax(Period waitTime)
@Configurable public void setInvocationCacheSize(int count)
@Configurable public void setThreadMax(int max)
@Configurable public void setThreadExecutorTaskMax(int max)
@Configurable public void setThreadIdleMin(int min)
@Configurable public void setThreadIdleMax(int max)
@Configurable public void setThreadIdleTimeout(Period timeout)
@Configurable public void setConnectionErrorPage(java.lang.String errorPage)
@Configurable public void setRootDirectory(Path path)
@Configurable public void setRootDir(Path path)
@Configurable public void setServerHeader(java.lang.String serverHeader)
@Configurable public void setUrlLengthMax(int max)
@Configurable public void setHeaderSizeMax(int max)
@Configurable public void setHeaderCountMax(int max)
@Configurable public void setMaxUriLength(int max)
@Configurable public void setIgnoreClientDisconnect(boolean isIgnore)
@Configurable public void setSendfileEnable(boolean isEnable)
@Configurable public void setSendfileMinLength(Bytes bytes)
@Configurable public void addWebAppDefault(WebAppConfig webAppConfig)
@Configurable public void addEarDefault(EarConfig earConfig)
@Configurable public void addHostDefault(HostConfig hostConfig)
@Configurable public HostExpandDeployGenerator createHostDeploy()
@Configurable public void addHostDeploy(HostExpandDeployGenerator deploy)
@Configurable public void addHost(HostConfig host)
@Configurable public RewriteDispatch createRewriteDispatch()
@Configurable public void add(DispatchRule rewrite)
@Configurable public AbstractProxyCache createProxyCache() throws ConfigException
ConfigException
@Configurable public AbstractProxyCache createCache() throws ConfigException
ConfigException
@Configurable public void setAccessLog(AccessLog accessLog)
@Configurable public void setAccessLogBufferSize(Bytes bufferSize)
@Configurable public void setSessionCookie(java.lang.String sessionCookie)
@Configurable public void setSSLSessionCookie(java.lang.String cookie)
@Configurable public void setSessionUrlPrefix(java.lang.String urlPrefix)
@Configurable public void setAlternateSessionUrlPrefix(java.lang.String urlPrefix) throws ConfigException
ConfigException
@Configurable public void setUrlCharacterEncoding(java.lang.String encoding) throws ConfigException
ConfigException
public java.lang.Object createPing() throws ConfigException
ConfigException
public void addSelectManager(ServletContainerConfig.SelectManagerCompat selectManager)
public void addErrorPage(ErrorPage errorPage)
public void addLoadBalanceWeight(ConfigProgram program)
public void setLoadBalanceWarmupTime(ConfigProgram program)
@PostConstruct public void init()