Errai 3.0.1-SNAPSHOT

org.jboss.errai.cdi.server.events
Interface ConversationalEvent<T>


public interface ConversationalEvent<T>

Author:
Mike Brock

Method Summary
 ConversationalEvent<T> select(Annotation... qualifiers)
          Obtains a child Event for the given additional required qualifiers.
<U extends T>
ConversationalEvent<U>
select(Class<U> subtype, Annotation... qualifiers)
          Obtains a child Event for the given required type and additional required qualifiers.
<U extends T>
ConversationalEvent<U>
select(javax.enterprise.util.TypeLiteral<U> subtype, Annotation... qualifiers)
          Obtains a child Event for the given required type and additional required qualifiers.
 

Method Detail

select

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

Obtains a child Event for the given additional required qualifiers.

Parameters:
qualifiers - the additional specified qualifiers
Returns:
the child Event
Throws:
IllegalArgumentException - if passed two instances of the same qualifier type, or an instance of an annotation that is not a qualifier type

select

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

Obtains a child Event for the given required type and additional required qualifiers.

Type Parameters:
U - the specified type
Parameters:
subtype - a Class representing the specified type
qualifiers - the additional specified qualifiers
Returns:
the child Event
Throws:
IllegalArgumentException - if passed two instances of the same qualifier type, or an instance of an annotation that is not a qualifier type

select

<U extends T> ConversationalEvent<U> select(javax.enterprise.util.TypeLiteral<U> subtype,
                                            Annotation... qualifiers)

Obtains a child Event for the given required type and additional required qualifiers.

Type Parameters:
U - the specified type
Parameters:
subtype - a TypeLiteral representing the specified type
qualifiers - the additional specified qualifiers
Returns:
the child Event
Throws:
IllegalArgumentException - if passed two instances of the same qualifier type, or an instance of an annotation that is not a qualifier type

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.