|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Synchronizer
| Method Summary | |
|---|---|
java.lang.Object |
onGetValue(Name nodeAbsolutePath,
NamePart valueName)
Called by a SynchronizedNode when a value could not be found
for a given name. |
void |
onPutValue(Name nodeAbsolutePath,
NamePart valueName,
java.lang.Object obj,
boolean overwrite)
Called when the putValue() method has been called on the
node that owns this instance. |
void |
onRemoveValue(Name nodeAbsolutePath,
NamePart valueName)
Called when the removeValue() method has been called on the
node that owns this instance. |
| Method Detail |
|---|
java.lang.Object onGetValue(Name nodeAbsolutePath,
NamePart valueName)
SynchronizedNode when a value could not be found
for a given name. This method should return the object that corresponds
to the given name, or null if it cannot find an object for
the given name.
nodeAbsolutePath - the Name corresponding to the absolute path of the node that
could not find a value for the given name.valueName - the NamePart corresponding to the name of the searched object.
Object corresponding to the given name, or null if
no object could be found for the given name.Node.getValue(NamePart)
void onPutValue(Name nodeAbsolutePath,
NamePart valueName,
java.lang.Object obj,
boolean overwrite)
putValue() method has been called on the
node that owns this instance.
nodeAbsolutePath - the Name corresponding to the absolute path of the node
in which a value was put.valueName - the NamePart corresponding to the name of object that was put
into the node.obj - the Object that was put into the node.Node.putValue(NamePart, Object, boolean)
void onRemoveValue(Name nodeAbsolutePath,
NamePart valueName)
removeValue() method has been called on the
node that owns this instance.
nodeAbsolutePath - the Name corresponding to the absolute path of the node
from which a value was removed.valueName - the NamePart corresponding to the name of object that was removed
from the node.Node.removeValue(NamePart)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||