jrun.servlet.jrpp
Interface JRunProxyServiceMBean

All Superinterfaces:
NetworkServiceMBean, java.io.Serializable, Service, ServiceMBean, ThreadPoolServiceMBean
All Known Implementing Classes:
JRunProxyService

public interface JRunProxyServiceMBean
extends NetworkServiceMBean

Service interface for the JRun Proxy Service


Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 boolean getCacheRealPath()
          If true, the results from getRealPath() will be cached.
 java.lang.String getLoadBalancingAlgorithm()
          Gets the loadbalancing algorithm
 int getMapCheck()
          Gets the time how often web server connector should refrehs mappings
 int getServerWeight()
          Gets the 'server weight' used in Weighted RoundRobin and Weighted Random RR
 boolean getSSL()
          Returns whether or not SSL is enabled between the web server and the ProxyService
 java.lang.String getStickySessions()
          Gets whether or not connector load balancing will honour session stickyness
 void setCacheRealPath(boolean cache)
          If true, the results from getRealPath() will be cached.
 void setKeyStore(java.lang.String keyStore)
          Sets the keystore file name
 void setKeyStorePassword(java.lang.String keyStorePassword)
          Sets the keystore password
 void setLoadBalancingAlgorithm(java.lang.String algorithm)
          Sets the loadbalancing algorithm to use
 void setMapCheck(int time)
          Sets the time how ofter the web server connector will try to refresh mappings, in seconds, 0 if only do at startup
 void setServerWeight(int weight)
          Sets the 'server weight' used in Weighted RoundRobin and Weighted Random RR
 void setStickySessions(java.lang.String sticky)
          Sets whether or not connector load balancing will honour session stickyness
 void setTrustStore(java.lang.String trustStore)
          Sets the truststore file name
 
Methods inherited from interface jrun.servlet.network.NetworkServiceMBean
getAvailablePort, getBacklog, getBindAddress, getInterface, getPort, getSocketFactoryName, getTimeout, setBacklog, setBindAddress, setInterface, setPort, setSocketFactoryName, setTimeout
 
Methods inherited from interface jrunx.scheduler.ThreadPoolServiceMBean
getActiveHandlerThreads, getMaxHandlerThreads, getMinHandlerThreads, getThreadWaitTimeout, setActiveHandlerThreads, setMaxHandlerThreads, setMinHandlerThreads, setThreadWaitTimeout
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Method Detail

setLoadBalancingAlgorithm

public void setLoadBalancingAlgorithm(java.lang.String algorithm)
Sets the loadbalancing algorithm to use
Parameters:
algorithm -  

getLoadBalancingAlgorithm

public java.lang.String getLoadBalancingAlgorithm()
Gets the loadbalancing algorithm
Returns:
The algorithm

setServerWeight

public void setServerWeight(int weight)
Sets the 'server weight' used in Weighted RoundRobin and Weighted Random RR
Parameters:
weight -  

getServerWeight

public int getServerWeight()
Gets the 'server weight' used in Weighted RoundRobin and Weighted Random RR
Returns:
The 'server weight'

setMapCheck

public void setMapCheck(int time)
Sets the time how ofter the web server connector will try to refresh mappings, in seconds, 0 if only do at startup
Parameters:
time -  

getMapCheck

public int getMapCheck()
Gets the time how often web server connector should refrehs mappings
Returns:
The time in seconds

setStickySessions

public void setStickySessions(java.lang.String sticky)
Sets whether or not connector load balancing will honour session stickyness
Parameters:
sticky, - 'true' / 'false'

getStickySessions

public java.lang.String getStickySessions()
Gets whether or not connector load balancing will honour session stickyness
Returns:
 

setKeyStore

public void setKeyStore(java.lang.String keyStore)
Sets the keystore file name
Parameters:
keystore - filespec

setKeyStorePassword

public void setKeyStorePassword(java.lang.String keyStorePassword)
Sets the keystore password
Parameters:
keystore - password

setTrustStore

public void setTrustStore(java.lang.String trustStore)
Sets the truststore file name
Parameters:
truststore - filespec

getSSL

public boolean getSSL()
Returns whether or not SSL is enabled between the web server and the ProxyService

setCacheRealPath

public void setCacheRealPath(boolean cache)
If true, the results from getRealPath() will be cached. There are some instances where you may want to disable the caching of real path information (which is keyed by the requested resource path), such as when multiple virtual servers are using the same JRun server. The default is true.
Parameters:
cache - Whether getRealPath() should be cached.

getCacheRealPath

public boolean getCacheRealPath()
If true, the results from getRealPath() will be cached.
Returns:
Whether getRealPath() should be cached.


Copyright � 2002 Macromedia Corporation. All Rights Reserved.