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, yield
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.servlet.ServletContextListener
contextInitialized
-
Constructor Details
-
ServletContextAwareThreadWrapper
-
-
Method Details
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-
clone
- Overrides:
clone
in classThread
- Throws:
CloneNotSupportedException
-
start
public void start() -
run
public void run() -
interrupt
public void interrupt() -
isInterrupted
public boolean isInterrupted()- Overrides:
isInterrupted
in classThread
-
toString
-
getContextClassLoader
- Overrides:
getContextClassLoader
in classThread
-
setContextClassLoader
- Overrides:
setContextClassLoader
in classThread
-
getStackTrace
- Overrides:
getStackTrace
in classThread
-
getId
public long getId() -
getState
-
getUncaughtExceptionHandler
- Overrides:
getUncaughtExceptionHandler
in classThread
-
setUncaughtExceptionHandler
- Overrides:
setUncaughtExceptionHandler
in classThread
-
equals
-
hashCode
public int hashCode()
-