javax.enterprise.event
Interface Event<T>

Type Parameters:
T - the event type

public interface Event<T>

The event interface is used for firing events with specific classifiers and types. A built-in event bean is provided by the container.


Method Summary
 void fire(T event)
           
 Event<T> select(Annotation... qualifiers)
           
<U extends T>
Event<U>
select(Class<U> subtype, Annotation... qualifiers)
           
<U extends T>
Event<U>
select(TypeLiteral<U> subtype, Annotation... qualifiers)
           
 

Method Detail

fire

void fire(T event)

select

Event<T> select(Annotation... qualifiers)

select

<U extends T> Event<U> select(Class<U> subtype,
                              Annotation... qualifiers)

select

<U extends T> Event<U> select(TypeLiteral<U> subtype,
                              Annotation... qualifiers)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.