T
- The type of event being wrappedpublic class EventImpl<T> extends AbstractFacade<T,Event<T>> implements Event<T>, Serializable
Event
,
Serialized FormAbstractFacade.AbstractFacadeSerializationProxy<T,X>
Modifier and Type | Method and Description |
---|---|
void |
fire(T event)
Fires an event with the specified qualifiers and notifies observers.
|
protected Type |
getEventType(T event) |
static <E> EventImpl<E> |
of(InjectionPoint injectionPoint,
BeanManagerImpl beanManager) |
Event<T> |
select(Annotation... qualifiers)
Obtains a child Event for the given additional required qualifiers.
|
<U extends T> |
select(Class<U> subtype,
Annotation... qualifiers)
Obtains a child Event for the given required type and additional required qualifiers.
|
<U extends T> |
select(TypeLiteral<U> subtype,
Annotation... qualifiers)
Obtains a child Event for the given required type and additional required qualifiers.
|
String |
toString()
Gets a string representation
|
equals, getBeanManager, getCreationalContext, getFacadeType, getInjectionPoint, getQualifiers, getType, hashCode
public static <E> EventImpl<E> of(InjectionPoint injectionPoint, BeanManagerImpl beanManager)
public String toString()
public void fire(T event)
Event
Fires an event with the specified qualifiers and notifies observers.
public Event<T> select(Annotation... qualifiers)
Event
Obtains a child Event for the given additional required qualifiers.
public <U extends T> Event<U> select(Class<U> subtype, Annotation... qualifiers)
Event
Obtains a child Event for the given required type and additional required qualifiers.
public <U extends T> Event<U> select(TypeLiteral<U> subtype, Annotation... qualifiers)
Event
Obtains a child Event for the given required type and additional required qualifiers.
select
in interface Event<T>
U
- the specified typesubtype
- a TypeLiteral
representing the specified typequalifiers
- the additional specified qualifiersCopyright © 2013 Seam Framework. All Rights Reserved.