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