|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.FacadeImpl<T>
org.jboss.webbeans.event.EventImpl<T>
T - The type of event being wrappedpublic class EventImpl<T>
Implementation of the Event interface
Event| Field Summary |
|---|
| Fields inherited from class org.jboss.webbeans.FacadeImpl |
|---|
bindingTypes, manager, type |
| Constructor Summary | |
|---|---|
EventImpl(java.lang.Class<T> eventType,
Manager manager,
java.lang.annotation.Annotation... bindingTypes)
Constructor |
|
| Method Summary | |
|---|---|
void |
fire(T event,
java.lang.annotation.Annotation... bindingTypes)
Fires an event |
protected java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getFilteredAnnotations()
Gets a set of annotation classes to ignore |
void |
observe(Observer<T> observer,
java.lang.annotation.Annotation... bindingTypes)
Registers an observer |
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class org.jboss.webbeans.FacadeImpl |
|---|
mergeBindings, mergeBindingTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventImpl(java.lang.Class<T> eventType,
Manager manager,
java.lang.annotation.Annotation... bindingTypes)
eventType - The event typemanager - The Web Beans managerbindingTypes - The binding types| Method Detail |
|---|
public void fire(T event,
java.lang.annotation.Annotation... bindingTypes)
fire in interface Event<T>event - The event objectbindingTypes - Additional binding types
public void observe(Observer<T> observer,
java.lang.annotation.Annotation... bindingTypes)
observe in interface Event<T>observer - bindingTypes - Additional binding typespublic java.lang.String toString()
FacadeImpl
toString in class FacadeImpl<T>protected java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getFilteredAnnotations()
FacadeImpl
getFilteredAnnotations in class FacadeImpl<T>FacadeImpl.getFilteredAnnotations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||