Package de.aristaflow.adept2.ui.htmlgui
Class AbstractHTMLContext.HtmlContextCleanupTask
- java.lang.Object
-
- de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask<RuntimeException>
-
- de.aristaflow.adept2.ui.htmlgui.AbstractHTMLContext.HtmlContextCleanupTask
-
- All Implemented Interfaces:
CleanupTask<RuntimeException>
- Enclosing class:
- AbstractHTMLContext
protected static final class AbstractHTMLContext.HtmlContextCleanupTask extends CleanupTask.AbstractCleanupTask<RuntimeException>
The clean-up task for closing all replies and responses of anAbstractHTMLContext
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.aristaflow.adept2.util.CleanupTask
CleanupTask.AbstractCleanupTask<EX extends Exception>, CleanupTask.AtomicCloseTask, CleanupTask.CloseAndResetTask, CleanupTask.MutableCloseTask
-
-
Field Summary
-
Fields inherited from class de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask
descriptor, logger
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HtmlContextCleanupTask(AbstractHTMLContext obj)
Creates new clean-up for closing all replies and responses of the designatedAbstractHTMLContext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(boolean explicit)
Performs the actual clean-up.-
Methods inherited from class de.aristaflow.adept2.util.CleanupTask.AbstractCleanupTask
getDescriptor
-
-
-
-
Constructor Detail
-
HtmlContextCleanupTask
protected HtmlContextCleanupTask(AbstractHTMLContext obj)
Creates new clean-up for closing all replies and responses of the designatedAbstractHTMLContext
.- Parameters:
obj
- TheAbstractHTMLContext
of which to close all replies and responses.
-
-
Method Detail
-
cleanup
public void cleanup(boolean explicit)
Description copied from interface:CleanupTask
Performs the actual clean-up. This method is only called byCleanup
and must NOT be called directly!- Parameters:
explicit
- Whether the clean-up was triggered explicitly viaCleanup.clean()
. Otherwise it was triggered implicitly as a post-mortem action by the object becoming phantom reachable.
-
-