PATH  Documentation > WebObjects 4.5 > EOControl Reference

Table of Contents

EOObserverProxy


Inherits from:
(com.apple.client.eocontrol) EODelayedObserver : Object
(com.apple.yellow.eocontrol) EODelayedObserver : NSObject
Package:
com.apple.client.eocontrol
com.apple.yellow.eocontrol


Class Description


The EOObserverProxy class is a part of EOControl's change tracking mechanism. It provides a means for objects that can't inherit from EODelayedObserver to handle subjectChanged messages. For an overview of the general change tracking mechanism, see "Tracking Enterprise Objects Changes" in the introduction to the EOControl Framework.

An EOObserverProxy has a target object on whose behalf it observes objects. EOObserverProxy overrides subjectChanged to send an action message to its target object, allowing the target to act as though it had received subjectChanged directly from an EODelayedObserverQueue. See the EOObserverCenter and EODelayedObserverQueue class specifications for more information.




Constructors



EOObserverProxy

public EOObserverProxy( Object anObject, NSSelector anAction, int priority)

Creates a new EOObserverProxy to send anAction to anObject upon receiving a subjectChanged message. anAction should be a selector for a typical action method, taking one java.util.Object argument and returning void. priority indicates when the receiver is sent this message from EODelayedObserverQueue's notifyObserversUpToPriority method.


Table of Contents