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. |
setLoggingEnabled
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
otherwiseaClass
- the event class to enable or disable logging for
Copyright © 2000-2008 Apple Inc.