|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.event.EventImpl<T>
@Module public class EventImpl<T>
| Constructor Summary | |
|---|---|
EventImpl(BeanManager manager,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] bindings)
|
|
| Method Summary | ||
|---|---|---|
void |
fire(T event)
Fires an event with the Event object's bindings. |
|
Event<T> |
select(java.lang.annotation.Annotation... bindings)
Adds the current set of qualifiers, returning a new Event object. |
|
|
select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... bindings)
Adds the current set of bindings, returning a new Event object. |
|
|
select(TypeLiteral<U> subtype,
java.lang.annotation.Annotation... bindings)
Adds the current set of qualifiers, returning a new Event object. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventImpl(BeanManager manager,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] bindings)
| Method Detail |
|---|
public void fire(T event)
Event
fire in interface Event<T>event - the event to firepublic Event<T> select(java.lang.annotation.Annotation... bindings)
Event
select in interface Event<T>bindings - the additional qualifiers
public <U extends T> Event<U> select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... bindings)
Event
select in interface Event<T>subtype - the restricted type
public <U extends T> Event<U> select(TypeLiteral<U> subtype,
java.lang.annotation.Annotation... bindings)
Event
select in interface Event<T>subtype - the restricted typebindings - the additional qualifierspublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||