Class ServletContextAwareThreadWrapper
java.lang.Object
java.lang.Thread
eu.rarogsoftware.rarog.platform.core.task.ServletContextAwareThreadWrapper
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,Runnable,EventListener
class ServletContextAwareThreadWrapper
extends Thread
implements jakarta.servlet.ServletContextListener
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getDefaultUncaughtExceptionHandler, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, join, join, join, onSpinWait, resume, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, sleep, sleep, stop, suspend, yieldMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletContextListener
contextInitialized
-
Constructor Details
-
ServletContextAwareThreadWrapper
-
-
Method Details
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
clone
- Overrides:
clonein classThread- Throws:
CloneNotSupportedException
-
start
public void start() -
run
public void run() -
interrupt
public void interrupt() -
isInterrupted
public boolean isInterrupted()- Overrides:
isInterruptedin classThread
-
toString
-
getContextClassLoader
- Overrides:
getContextClassLoaderin classThread
-
setContextClassLoader
- Overrides:
setContextClassLoaderin classThread
-
getStackTrace
- Overrides:
getStackTracein classThread
-
getId
public long getId() -
getState
-
getUncaughtExceptionHandler
- Overrides:
getUncaughtExceptionHandlerin classThread
-
setUncaughtExceptionHandler
- Overrides:
setUncaughtExceptionHandlerin classThread
-
equals
-
hashCode
public int hashCode()
-