javax.webbeans
Interface Event<T>

Type Parameters:
T - the type of the event object

public interface Event<T>

An interface for firing events of a particular type, and registering observers for events of that type.

Author:
Gavin King, Pete Muir

Method Summary
 void fire(T event, java.lang.annotation.Annotation... bindings)
           
 void observe(Observer<T> observer, java.lang.annotation.Annotation... bindings)
           
 

Method Detail

fire

void fire(T event,
          java.lang.annotation.Annotation... bindings)

observe

void observe(Observer<T> observer,
             java.lang.annotation.Annotation... bindings)


Copyright © 2008. All Rights Reserved.