org.norther.tammi.acorn.trace
Class TraceEvent
java.lang.Object
java.util.EventObject
org.norther.tammi.acorn.trace.TraceEvent
- All Implemented Interfaces:
- Serializable
public class TraceEvent
- extends EventObject
Events of this type are sent to an object that implements the
TraceListener interface when the corresponding trace has been
modified.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
TraceEvent
public TraceEvent(Traceable trace)
- Constructs a new event.
- Parameters:
trace - the source trace.
TraceEvent
public TraceEvent(Traceable trace,
Object key)
- Constructs a new event with the specified resource.
- Parameters:
trace - the source trace.key - the resource key.
getTraceable
public Traceable getTraceable()
- Gets the traceable.
- Returns:
- the traceable.
getResourceKey
public Object getResourceKey()
- Gets the key of an optional resource.
- Returns:
- the resource key or null.
Copyright © 2004 The Norther Organization. All rights reserved.