Tuscany Core

org.apache.tuscany.core.context
Interface EventPublisher

All Known Subinterfaces:
AtomicContext, AutowireContext, CompositeContext, Context, EntryPointContext, ExternalServiceContext, RuntimeContext, ScopeAwareContext, SystemCompositeContext
All Known Implementing Classes:
AbstractCompositeContext, AbstractContext, CompositeContextImpl, EntryPointContextImpl, ExternalServiceContextImpl, RuntimeContextImpl, SystemAtomicContext, SystemCompositeContextImpl, SystemEntryPointContext, SystemExternalServiceContext

public interface EventPublisher

Publishes events in the runtime

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

Method Summary
 void addListener(EventFilter filter, RuntimeEventListener listener)
          Registers a listener to receive notifications for the context
 void addListener(RuntimeEventListener listener)
          Registers a listener to receive notifications for the context
 void publish(Event object)
           
 void removeListener(RuntimeEventListener listener)
          Removes a previously registered listener
 

Method Detail

publish

void publish(Event object)

addListener

void addListener(RuntimeEventListener listener)
Registers a listener to receive notifications for the context


addListener

void addListener(EventFilter filter,
                 RuntimeEventListener listener)
Registers a listener to receive notifications for the context


removeListener

void removeListener(RuntimeEventListener listener)
Removes a previously registered listener


Tuscany Core

-