Package org.jboss.weld.events
Interface WeldEvent<T>
-
- All Superinterfaces:
javax.enterprise.event.Event<T>
public interface WeldEvent<T> extends javax.enterprise.event.Event<T>Enriched version ofEvent.- Author:
- Matej Novotny
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WeldEvent<T>select(Annotation... qualifiers)<U extends T>
WeldEvent<U>select(Class<U> subtype, Annotation... qualifiers)<X> WeldEvent<X>select(Type type, Annotation... qualifiers)Obtains a childEventfor the given required type and additional required qualifiers.<U extends T>
WeldEvent<U>select(javax.enterprise.util.TypeLiteral<U> subtype, Annotation... qualifiers)
-
-
-
Method Detail
-
select
<X> WeldEvent<X> select(Type type, Annotation... qualifiers)
Obtains a child
Eventfor the given required type and additional required qualifiers. Must be invoked onEvent<T>where T isObject.- Type Parameters:
X- the required type- Parameters:
type- aTyperepresenting the required typequalifiers- the additional required qualifiers- Returns:
- the child
Event - Throws:
IllegalArgumentException- if passed two instances of the same non repeating qualifier type, or an instance of an annotation that is not a qualifier typeIllegalStateException- if invoked onEvent<T>where T is of any other type thanObject
-
select
WeldEvent<T> select(Annotation... qualifiers)
- Specified by:
selectin interfacejavax.enterprise.event.Event<T>
-
select
<U extends T> WeldEvent<U> select(Class<U> subtype, Annotation... qualifiers)
- Specified by:
selectin interfacejavax.enterprise.event.Event<T>
-
select
<U extends T> WeldEvent<U> select(javax.enterprise.util.TypeLiteral<U> subtype, Annotation... qualifiers)
- Specified by:
selectin interfacejavax.enterprise.event.Event<T>
-
-