Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

EOEventCenter.EventRecordingHandler


Package:
com.webobjects.eocontrol

Interface Description


The EOEventCenter. EventRecordingHandler interface, a part of the event logging system, declares the setLoggingEnabled method, which is invoked by the event logging system when event logging is enabled or disabled for an event class. Event recording handlers are responsible for enabling logging in instrumented code. An event recording handler only receives messages about event classes registered with registerEventClass. For more information on the event logging mechanism, see the EOEventCenter class specification.



Instance Methods



setLoggingEnabled

public abstract void setLoggingEnabled( boolean flag, Class aClass)

If flag is true, then instrumented code should log events of class aClass, and the receiver should enable updating in instrumented code (usually by setting a flag).

See Also: registerEventClass (EOEventCenter)



© 2001 Apple Computer, Inc. (Last Published April 19, 2001)


Table of Contents