|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.util.TxnMonitorableUtil
A class for
| Field Summary | |
protected java.util.List |
handlers
|
| Constructor Summary | |
protected |
TxnMonitorableUtil()
|
| Method Summary | |
protected void |
addNotifier()
A method called when this class has TxnHandlers that need to be notified of a change. |
void |
addTxnHandler(TxnHandler handler)
Add a TxnHandler to be invoked when this object changes. |
void |
notifyInsertAfter(NodeContent c,
int index,
java.lang.Object value)
|
void |
notifyInsertBefore(NodeContent c,
int index,
java.lang.Object value)
|
void |
notifyRemoveKey(NodeContent c,
java.lang.Object key)
|
void |
notifyRemoveRange(NodeContent c,
int start,
int end)
|
void |
notifyReplaceRange(NodeContent c,
int start,
int end,
java.lang.Object seq)
|
void |
notifySetValue(NodeContent c,
java.lang.Object property,
java.lang.Object value)
|
protected void |
removeNotifier()
A method called when this class no longer has TxnHandlers that need to be notified of a change. |
void |
removeTxnHandler(TxnHandler handler)
Remove a previously added TxnHandler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List handlers
| Constructor Detail |
protected TxnMonitorableUtil()
| Method Detail |
public final void addTxnHandler(TxnHandler handler)
TxnMonitorable
addTxnHandler in interface TxnMonitorablehandler - a TxnHandler whose notify methods will be invoked
when this object changes.public final void removeTxnHandler(TxnHandler handler)
TxnMonitorable
removeTxnHandler in interface TxnMonitorablehandler - a TxnHandler that has previously been added.protected void addNotifier()
protected void removeNotifier()
public void notifySetValue(NodeContent c,
java.lang.Object property,
java.lang.Object value)
notifySetValue in interface TxnHandler
public void notifyInsertBefore(NodeContent c,
int index,
java.lang.Object value)
notifyInsertBefore in interface TxnHandler
public void notifyInsertAfter(NodeContent c,
int index,
java.lang.Object value)
notifyInsertAfter in interface TxnHandler
public void notifyRemoveKey(NodeContent c,
java.lang.Object key)
notifyRemoveKey in interface TxnHandler
public void notifyRemoveRange(NodeContent c,
int start,
int end)
notifyRemoveRange in interface TxnHandler
public void notifyReplaceRange(NodeContent c,
int start,
int end,
java.lang.Object seq)
notifyReplaceRange in interface TxnHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||