|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.event.EventImpl<T>
T - event typepublic class EventImpl<T>
Event implementation.
Event,
Serialized Form| Constructor Summary | |
|---|---|
EventImpl(Annotation[] injectedBindings,
Type eventType)
Creates a new event. |
|
| Method Summary | ||
|---|---|---|
void |
fire(T event)
Fires event with given event object. |
|
Event<T> |
select(Annotation... bindings)
|
|
|
select(Class<U> subtype,
Annotation... bindings)
|
|
|
select(TypeLiteral<U> subtype,
Annotation... bindings)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventImpl(Annotation[] injectedBindings,
Type eventType)
injectedBindings - event bindingseventType - event type| Method Detail |
|---|
public void fire(T event)
fire in interface Event<T>public Event<T> select(Annotation... bindings)
select in interface Event<T>
public <U extends T> Event<U> select(Class<U> subtype,
Annotation... bindings)
select in interface Event<T>
public <U extends T> Event<U> select(TypeLiteral<U> subtype,
Annotation... bindings)
select in interface Event<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||