com.caucho.config.event
Class ObserverMap

java.lang.Object
  extended by com.caucho.config.event.ObserverMap

@Module
public class ObserverMap
extends java.lang.Object

Matches bindings


Constructor Summary
ObserverMap(java.lang.Class<?> type)
           
 
Method Summary
 void addObserver(ObserverMethod<?> observer, BaseType type, java.lang.annotation.Annotation[] bindings)
           
 void fireEvent(java.lang.Object event, BaseType eventType, java.lang.annotation.Annotation[] qualifiers)
           
 void resolveEntries(java.util.ArrayList<ObserverEntry<?>> list, BaseType eventType, BaseType subType)
           
<T> void
resolveObservers(java.util.Set<ObserverMethod<? super T>> set, BaseType eventType, java.lang.annotation.Annotation[] qualifiers)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObserverMap

public ObserverMap(java.lang.Class<?> type)
Method Detail

addObserver

public void addObserver(ObserverMethod<?> observer,
                        BaseType type,
                        java.lang.annotation.Annotation[] bindings)

resolveObservers

public <T> void resolveObservers(java.util.Set<ObserverMethod<? super T>> set,
                                 BaseType eventType,
                                 java.lang.annotation.Annotation[] qualifiers)

resolveEntries

public void resolveEntries(java.util.ArrayList<ObserverEntry<?>> list,
                           BaseType eventType,
                           BaseType subType)

fireEvent

public void fireEvent(java.lang.Object event,
                      BaseType eventType,
                      java.lang.annotation.Annotation[] qualifiers)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object