org.apache.empire.struts2.web
Class EmpireThreadManager

java.lang.Object
  extended by org.apache.empire.struts2.web.EmpireThreadManager

public final class EmpireThreadManager
extends Object


Constructor Summary
EmpireThreadManager()
           
 
Method Summary
protected static void exit(int exitCode)
          cleans up the current thread.
static Object getCurrentRequest()
           
protected static void setCurrentRequest(Object request)
          Sets the request for the current thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmpireThreadManager

public EmpireThreadManager()
Method Detail

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-2012 Apache Software Foundation. All Rights Reserved.