PATH  WebObjects 4.0 Documentation > EOControl Reference



EOObserving

Implemented By:
EODelayedObserver
EOEditingContext

Package:
com.apple.client.eocontrol (Java Client)
com.apple.yellow.eocontrol (WebObjects and Yellow Box)

Protocol Description

The EOObserving interface,a part of EOControl's change tracking mechanism, declares the objectWillChange method, used by observers to receive notifications that an object has changed. This message is sent by EOObserverCenter to all observers registered using its addObserver method. For an overview of the general change tracking mechanism, see "Tracking Enterprise Objects Changes" in the introduction to the EOControl Framework. The EOObserving interface

Instance Methods


objectWillChange

public abstract void objectWillChange (java.lang.Object anObject)

Informs the receiver that anObject's state is about to change. The receiver can record anObject's state, mark or record it as changed, and examine it later (such as at the end of the run loop) to see how it's changed.





Copyright © 1998, Apple Computer, Inc. All rights reserved.