private class Text.SensitivityResetter extends java.lang.Object implements Finalizable
TransactionManager.registerFinalizable(com.goldencode.p2j.util.Finalizable, boolean)
and the Finalizable
interface.Modifier and Type | Field and Description |
---|---|
(package private) boolean |
oldCaseSens
The sensitivity to which the containing instance will be reset.
|
Constructor and Description |
---|
SensitivityResetter(boolean oldCaseSens)
Construct an instance which can reset the containing instance's
case sensitivity when a notification is received.
|
Modifier and Type | Method and Description |
---|---|
void |
deleted()
Provides a notification that the external program scope in which the object is registered is
is being deleted and the object's reference will be lost after this method is called.
|
void |
finished()
Processes the end of scope notification and resets the associated
instance's case sensitivity.
|
void |
iterate()
Processes the iterate notification provided by the
TransactionManager . |
void |
retry()
Processes the retry notification provided by the
TransactionManager . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initFailure
boolean oldCaseSens
SensitivityResetter(boolean oldCaseSens)
Text.setTemporaryCaseSensitive(boolean)
.oldCaseSens
- The case sensitivity to which the containing instance must
be reset.public void finished()
TransactionManager
.finished
in interface Finalizable
public void deleted()
This is a no-op in this case.
deleted
in interface Finalizable
public void iterate()
TransactionManager
. This implementation does nothing.iterate
in interface Finalizable
public void retry()
TransactionManager
. This implementation does nothing.retry
in interface Finalizable