Tuscany Core

org.apache.tuscany.core.context.event
Class AbstractRequestEvent

java.lang.Object
  extended by org.apache.tuscany.core.context.event.AbstractEvent
      extended by org.apache.tuscany.core.context.event.AbstractRequestEvent
All Implemented Interfaces:
Event, RequestEvent
Direct Known Subclasses:
RequestEnd, RequestStart

public abstract class AbstractRequestEvent
extends AbstractEvent
implements RequestEvent

Base implementation of a request event

Version:
$$Rev$$ $$Date$$

Field Summary
 
Fields inherited from class org.apache.tuscany.core.context.event.AbstractEvent
source
 
Constructor Summary
AbstractRequestEvent(Object source, Object id)
          Creates a new event
 
Method Summary
 Object getId()
          Returns the id of the request the event is associated with
 
Methods inherited from class org.apache.tuscany.core.context.event.AbstractEvent
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRequestEvent

public AbstractRequestEvent(Object source,
                            Object id)
Creates a new event

Parameters:
source - the source of the event
id - the id of the request associated with the event
Method Detail

getId

public Object getId()
Description copied from interface: RequestEvent
Returns the id of the request the event is associated with

Specified by:
getId in interface RequestEvent

Tuscany Core

-