public abstract class AbstractScopeAwareRunnable extends Object implements INonThrowingRunnable
Runnable that handles WebScopes correctly.| Constructor and Description |
|---|
AbstractScopeAwareRunnable() |
AbstractScopeAwareRunnable(String sApplicationID) |
AbstractScopeAwareRunnable(String sApplicationID,
String sRequestID,
String sSessionID) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationID() |
String |
getRequestID() |
String |
getSessionID() |
void |
run()
Run it.
|
protected abstract void |
scopedRun()
Implement your code in here.
|
String |
toString() |
public AbstractScopeAwareRunnable()
public AbstractScopeAwareRunnable(@Nonnull @Nonempty String sApplicationID)
protected abstract void scopedRun()
public final void run()
INonThrowingRunnablerun in interface INonThrowingRunnablerun in interface IThrowingRunnable<Exception>run in interface RunnableCopyright © 2014–2016 Philip Helger. All rights reserved.