Package org.jboss.weld.events
Interface WeldEvent<T>
- All Superinterfaces:
Event<T>
Enriched version of
Event.- Author:
- Matej Novotny
-
Method Summary
Modifier and TypeMethodDescriptionselect(TypeLiteral<U> subtype, Annotation... qualifiers) Obtains a childEventfor the given required type and additional required qualifiers.select(Annotation... qualifiers) Obtains a childEventfor the given additional required qualifiers.select(Class<U> subtype, Annotation... qualifiers) Obtains a childEventfor the given required type and additional required qualifiers.<X> WeldEvent<X>select(Type type, Annotation... qualifiers) Obtains a childEventfor the given required type and additional required qualifiers.
-
Method Details
-
select
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
Description copied from interface:EventObtains a child
Eventfor the given additional required qualifiers. -
select
Description copied from interface:EventObtains a child
Eventfor the given required type and additional required qualifiers. -
select
Description copied from interface:EventObtains a child
Eventfor the given required type and additional required qualifiers.- Specified by:
selectin interfaceEvent<T>- Type Parameters:
U- the specified type- Parameters:
subtype- aTypeLiteralrepresenting the specified typequalifiers- the additional specified qualifiers- Returns:
- the child
Event
-