Interface Event
-
- All Known Subinterfaces:
CancellationEvent,HttpNetworkProtocolRequestEvent,HttpNetworkProtocolResponseEvent,NetworkProtocolEvent,NetworkProtocolRequestEvent,NetworkProtocolResponseEvent,ProtocolEvent,ProtocolRequestEvent,ProtocolResponseEvent,ServiceCancellationEvent,ServiceEvent,ServiceRequestEvent,ServiceResponseEvent,ThreadEvent,TransactionEvent
- All Known Implementing Classes:
AbstractEvent,AbstractNetworkProtocolRequestEvent,AbstractNetworkProtocolResponseEvent,AbstractProtocolEvent,AbstractProtocolRequestEvent,AbstractProtocolResponseEvent,AbstractServiceCancellationEvent,AbstractServiceEvent,AbstractServiceRequestEvent,AbstractServiceResponseEvent,AbstractThreadEvent,AbstractTransactionEvent,HttpServiceDownstreamRequestEvent,HttpServiceDownstreamResponseEvent,HttpServletNetworkRequestEvent,HttpServletNetworkResponseEvent,ServiceActivityRequestEvent,ServiceActivityResponseEvent,ServiceDownstreamCancellationEvent,ServiceDownstreamRequestEvent,ServiceDownstreamResponseEvent,ThreadEnterEvent,ThreadExitEvent,TransactionBeginEvent,TransactionEndEvent
public interface EventAn Event published to the DiSCo event bus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetData(java.lang.String key)Retrieve a data value from this event, given a named keyjava.lang.StringgetOrigin()Getter for the Event's origin.
-
-
-
Method Detail
-
getOrigin
java.lang.String getOrigin()
Getter for the Event's origin. This is named for the DiSCo support package name e.g. 'Web'- Returns:
- the origin of this event
-
getData
java.lang.Object getData(java.lang.String key)
Retrieve a data value from this event, given a named key- Parameters:
key- the name of the data to retrieve- Returns:
- the value of the data, or null if absent
-
-