jrun.servlet.http
Interface WebServiceMBean

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

public interface WebServiceMBean
extends NetworkServiceMBean

Base service interface for developing network services.


Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 boolean isKeepAlive()
          Gets the keep-alive flag
 void setKeepAlive(boolean keepalive)
          Sets the keep-alive flag
 
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

setKeepAlive

public void setKeepAlive(boolean keepalive)
Sets the keep-alive flag
Parameters:
keepalive - true to enable HTTP keep-alive

isKeepAlive

public boolean isKeepAlive()
Gets the keep-alive flag
Returns:
true if HTTP keep-alive is enabled


Copyright � 2002 Macromedia Corporation. All Rights Reserved.