WebObjects 5.2

com.webobjects.eocontrol
Interface EOEventCenter.EventRecordingHandler

Enclosing class:
EOEventCenter

public static interface EOEventCenter.EventRecordingHandler

The EOEventCenter.EventRecordingHandler interface declares the setLoggingEnabled method, which is invoked by the event-logging system when 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.

See Also:
EOEventCenter.registerEventClass(Class, EOEventCenter.EventRecordingHandler), EOEventCenter.setRecordsEvents(boolean flag, Class eventClass)

Method Summary
 void setLoggingEnabled(boolean flag, Class aClass)
          If flag is true, instrumented code should log events of class aClass and the receiver should enable updating in instrumented code.
 

Method Detail

setLoggingEnabled

public void setLoggingEnabled(boolean flag,
                              Class aClass)
If flag is true, instrumented code should log events of class aClass and the receiver should enable updating in instrumented code.
Parameters:
flag - true if event logging should be enabled for the specified class; false otherwise
aClass - the event class to enable or disable logging for

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.