uka.patch
Interface PatchableRoot
- All Known Subinterfaces:
- Replicated
- All Known Implementing Classes:
- RemoteObject, RemoteStub, ReplicaStub, ReplicatedObject
- public interface PatchableRoot
Marker interface for classes that are not traversed during the
patch creation process. If there are several interwoven object
graphs that are all monitored for changes with
uka.patch, all root elements of the graphs can be
marked with this interface to separate patches for the different
graphs. During the patch creation process, references to objects
implementing PatchableRoot are not traversed, if the
referenced object is not itself the root of the monitored graph.
- See Also:
wiki:ConnectedState
|
Method Summary |
java.lang.Object |
getOwner()
Return the root object this object belongs to. |
getOwner
public java.lang.Object getOwner()
- Return the root object this object belongs to. The replicated
state of a replicated object extends to all objects that are
reacheable through non-transient references from the replicated
root object. The traversal ends at objects implementing
PatchableRoot, if the getOwner() method returns
another object than the current replicated object.