Package org.jboss.modcluster.config
Interface MCMPHandlerConfiguration
- All Known Implementing Classes:
MCMPHandlerConfigurationImpl
,ModClusterConfig
,ModClusterListener
,ModClusterListener
public interface MCMPHandlerConfiguration
Configuration object for an
MCMPHandler
.- Author:
- Brian Stansberry, Radoslav Husar
-
Method Summary
Modifier and TypeMethodDescriptionReceive advertisements from httpd proxies (default is to use advertisements if the proxyList is not set).Returns a list of contexts that should never be enabled in mod_cluster.Factory for generating jvm routeDeprecated.Gets list of proxies as a collection ofProxyConfiguration
s.URL prefix.Configuration of the socket factory, supply SSL socket factory to use SSL to connect to the proxy.int
Connection timeout for communication with the proxy.long
Returns the number ofgetStopContextTimeoutUnit()
to wait for pending requests to complete when stopping a context.Returns the unit of time to whichgetStopContextTimeout()
pertains.boolean
Indicates whether or not to automatically enable contexts.boolean
isSsl()
Deprecated.UsegetSocketFactory()
instead.
-
Method Details
-
getProxyConfigurations
Collection<ProxyConfiguration> getProxyConfigurations()Gets list of proxies as a collection ofProxyConfiguration
s.- Returns:
- list of proxies as a collection of
ProxyConfiguration
s
-
getProxies
Deprecated.As of 1.3.1.Final usegetProxyConfigurations()
to also specify local bind address.Gets list of proxies as a collection ofInetSocketAddress
es.- Returns:
- list of proxies as a collection of
InetSocketAddress
es
-
getProxyURL
String getProxyURL()URL prefix. -
getSocketTimeout
int getSocketTimeout()Connection timeout for communication with the proxy. -
isSsl
Deprecated.UsegetSocketFactory()
instead.SSL client cert usage to connect to the proxy. -
getSocketFactory
SocketFactory getSocketFactory()Configuration of the socket factory, supply SSL socket factory to use SSL to connect to the proxy. -
getExcludedContextsPerHost
Returns a list of contexts that should never be enabled in mod_cluster. Contexts may be- Returns:
- a comma delimited list of contexts of the form "[host:]context"
-
getAdvertise
Boolean getAdvertise()Receive advertisements from httpd proxies (default is to use advertisements if the proxyList is not set). -
isAutoEnableContexts
boolean isAutoEnableContexts()Indicates whether or not to automatically enable contexts. If false, context will need to be enabled manually.- Returns:
- true, if contexts should auto-enable, false otherwise.
-
getStopContextTimeout
long getStopContextTimeout()Returns the number ofgetStopContextTimeoutUnit()
to wait for pending requests to complete when stopping a context.- Returns:
- timeout in seconds.
-
getStopContextTimeoutUnit
TimeUnit getStopContextTimeoutUnit()Returns the unit of time to whichgetStopContextTimeout()
pertains.- Returns:
- a unit of time
-
getJvmRouteFactory
JvmRouteFactory getJvmRouteFactory()Factory for generating jvm route -
getSessionDrainingStrategy
SessionDrainingStrategy getSessionDrainingStrategy()
-
getProxyConfigurations()
to also specify local bind address.