wheel
Class AbstractEngine
java.lang.Object
  
wheel.AbstractEngine
- All Implemented Interfaces: 
 - IEngine
 
- Direct Known Subclasses: 
 - EngineImpl, MockEngine
 
public abstract class AbstractEngine
- extends java.lang.Object
- implements IEngine
  
An abstract implementation of IEngine. Provides a way to get the current IEngine that is handling the request cycle from any class
 withing thread-bounds.
- Author:
 
  - Henri Frilund
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface wheel.IEngine | 
_getAvailableCssFiles, _getAvailableJsFiles, _getMessagesSource, _getXmlSerializer, _setMessagesSource, addErrorMapping, getBasePackage, getContext, getCssPath, getEncoding, getError, getErrorPage, getJsPath, getLocale, getObjectStore, getpage, getRequest, getResourceManager, getResponse, getSession, isAjaxRequest, loadPage, setEncoding, setError, setErrorPage, setLocale | 
 
AbstractEngine
public AbstractEngine()
getCurrentServer
public static IEngine getCurrentServer()
- Returns the IEngine that is processing the request cycle.
 
- Returns:
 
 
 
setCurrentServer
public static void setCurrentServer(IEngine engine)
 
 
processRequest
public void processRequest()
- Default implemetation delegates to processRequestInternal. Makes sure that all IEngine instances get garbage collected.
- Specified by:
 processRequest in interface IEngine
 
 
 
processRequestInternal
protected abstract void processRequestInternal()
 
 
readRequestParameters
protected abstract java.util.Map readRequestParameters(javax.servlet.http.HttpServletRequest request)
 
 
Copyright © 2007-2008. All Rights Reserved.