WebObjects 5.2.3

com.webobjects.eocontrol
Interface EOEventCenter.EventRecordingHandler

Enclosing interface:
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 Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.