com.webobjects.appserver
Class WOComponent.Event
java.lang.Object
com.webobjects.eocontrol.EOEvent
com.webobjects.appserver.WOEvent
com.webobjects.appserver.WOComponent.Event
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- WOComponent
- public static class WOComponent.Event
- extends WOEvent
The WOComponent.Event class is used to time various operations at the component level.
- See Also:
WOEvent
,
Serialized Form
Method Summary |
String |
comment()
In the default implementation, this method returns the description of the
"info" instance variable which is passed at log time. |
String |
displayComponentName()
Used by the WOEventDisplay page in WOJExtensions to display a custom name for this component's event. |
Methods inherited from class com.webobjects.eocontrol.EOEvent |
aggregateEvents, classDescription, compare, description, duration, durationWithoutSubevents, eventTypeDescriptions, groupEvents, info, markAtomicWithInfo, markEnd, markStartWithInfo, parentEvent, setInfo, setType, startDate, subevents, type |
WOComponent.Event
public WOComponent.Event()
comment
public String comment()
- In the default implementation, this method returns the description of the
"info" instance variable which is passed at log time. This method can be
overridden by subclasses to provide information for the event display.
- Overrides:
comment
in class WOEvent
- Returns:
- the comment on the instance variable at the log time as a String
displayComponentName
public String displayComponentName()
- Used by the WOEventDisplay page in WOJExtensions to display a custom name for this component's event.
- Overrides:
displayComponentName
in class EOEvent
- Returns:
- the component name (by default)
Copyright © 2004 Apple Computer, Inc.