WebObjects 5.2

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

Fields inherited from class com.webobjects.appserver.WOEvent
AssociationSignature, ComponentSignature, PageSignature
 
Fields inherited from class com.webobjects.eocontrol.EOEvent
BasicEventSignature, EventGroupName
 
Constructor Summary
WOComponent.Event()
           
 
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.appserver.WOEvent
setComponentName, setPageName, signatureOfType, title, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WOComponent.Event

public WOComponent.Event()
Method Detail

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)

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

Copyright © 2003 Apple Computer, Inc.