org.eclipse.swordfish.core.event
Interface Event

All Known Subinterfaces:
ConfigurationEvent<T>, OperationEvent, TrackingEvent
All Known Implementing Classes:
ConfigurationEventImpl, EventImpl, InterceptorExceptionEvent, OperationEventImpl, TrackingEventImpl

public interface Event

Generic Swordfish event


Method Summary
 java.util.Map<java.lang.String,?> getProperties()
          Event properties Map.
 java.lang.Object getProperty(java.lang.String key)
          Convenience method for property access.
 java.lang.String getTopic()
          Topic identifier.
 

Method Detail

getTopic

java.lang.String getTopic()
Topic identifier.

Returns:
topic String, never null or empty String.

getProperties

java.util.Map<java.lang.String,?> getProperties()
Event properties Map.

Returns:
a Map, may be empty, but never null.

getProperty

java.lang.Object getProperty(java.lang.String key)
Convenience method for property access.

Parameters:
key - property key String.
Returns:
property value or null if not set.