org.apache.empire.struts2.web
Class EmpireThreadManager
java.lang.Object
org.apache.empire.struts2.web.EmpireThreadManager
public final class EmpireThreadManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmpireThreadManager
public EmpireThreadManager()
getCurrentRequest
public static Object getCurrentRequest()
setCurrentRequest
protected static void setCurrentRequest(Object request)
- Sets the request for the current thread
- Parameters:
request
- The request object
exit
protected static void exit(int exitCode)
- cleans up the current thread.
if a current request is set and the request object implements the WebRequest interface then the exit function is called.
- Parameters:
exitCode
- the exitCode
Copyright © 2008–2014 Apache Software Foundation. All rights reserved.