org.jwarp.service.web
Interface IWebService
- All Superinterfaces:
- IConfigurable, IExceptionProvider, IService
- All Known Implementing Classes:
- WebService
- public interface IWebService
- extends IService
The WebService interface is the central processing unit for all JWeb conformant wen applications.
- Version:
- 1.0
- Author:
- A. Tresch, M.Schaefer
| Methods inherited from interface org.jwarp.service.IService |
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend |
SERVICE_TYPE
public static final java.lang.String SERVICE_TYPE
performRequest
public void performRequest(WebContext webContext)
- Servlet service method. This is the main entry-point for JavaWeb. it does the following steps:
- if there is a new session, it will call the sssion-init object.
- the HttpRequest is wrapped into a JavawebRequest which provides more flexibility
- it calls the dispatch-method of the supplied ActionController
forward
public void forward(java.lang.String target,
java.lang.String url,
WebContext webContext)
throws InvalidForwardException,
InvalidForwardTypeException
numServices
public int numServices()
- Get the number of currently running service requests.
- Returns:
- The current service request count
enableCache
public ICache enableCache(java.lang.String serviceName,
java.lang.String cacheID)
disableCache
public void disableCache()
getWebStatus
public WebStatus getWebStatus()
- Get an extended web service status.
- Returns:
- a web service status object