Index
All Classes and Interfaces|All Packages|Search Tags
A
- attributedType() - Method in interface org.microbean.event.EventListener
-
Returns a non-
null, determinateAttributedTypedescribing the kinds of events thisEventListeneris prepared to handle.
D
- dependencies() - Method in interface org.microbean.event.EventListener
-
Returns a non-
null, determinate, immutableSequencedSetofAttributedElements representing dependencies thisEventListenerhas that must be resolved before any invocation of theEventListener.eventReceived(Object, ReferencesSelector)method may properly occur.
E
- eventDependency() - Method in interface org.microbean.event.EventListener
-
Returns a non-
null, determinateAttributedElementrepresenting the program element for which an event is destined. - EventListener<R,
E> - Interface in org.microbean.event - EventQualifiersMatcher - Class in org.microbean.event
-
A
Matcherencapsulating CDI-compatible event qualifier matching rules. - EventQualifiersMatcher(Qualifiers) - Constructor for class org.microbean.event.EventQualifiersMatcher
-
Creates a new
EventQualifiersMatcher. - eventReceived(E, ReferencesSelector) - Method in interface org.microbean.event.EventListener
-
Receives and handles an event, normally as delivered by an invocation of the
Events.fire(TypeMirror, List, Object, ReferencesSelector)method, returning the result (which is oftenVoid(null)). - Events - Class in org.microbean.event
-
A utility class for working with events.
- Events(EventTypes, Qualifiers, EventTypeMatcher, EventQualifiersMatcher) - Constructor for class org.microbean.event.Events
-
Creates a new
Events. - event type argument inference - Search tag in org.microbean.event.EventTypes.eventTypes(TypeMirror, Object)
- EventTypeList - Class in org.microbean.event
-
An immutable
AbstractListofTypeMirrors that contains only legal event types, sorted in a specific manner. - EventTypeMatcher - Class in org.microbean.event
-
An
AbstractTypeMatcherencapsulating CDI-compatible event type matching rules. - EventTypeMatcher(Domain) - Constructor for class org.microbean.event.EventTypeMatcher
-
Creates a new
EventTypeMatcher. - eventTypes(TypeMirror, Object) - Method in class org.microbean.event.EventTypes
- EventTypes - Class in org.microbean.event
-
A utility for working with event types.
- EventTypes(Domain) - Constructor for class org.microbean.event.EventTypes
-
Creates a new
EventTypes.
F
- fire(TypeMirror, List, Object, ReferencesSelector) - Method in class org.microbean.event.Events
-
Delivers ("fires") the supplied
eventto suitableEventListeners. - fire(EventListener, Object, ReferencesSelector) - Method in class org.microbean.event.Events
-
Delivers ("Fires") the supplied
eventto the suppliedEventListenervia itsEventListener.eventReceived(Object, ReferencesSelector)method.
G
- get(int) - Method in class org.microbean.event.EventTypeList
L
- legalEventType(TypeMirror) - Static method in class org.microbean.event.EventTypes
-
Returns
trueif and only if the suppliedTypeMirroris a legal event type. - legalObservedEventType(TypeMirror) - Static method in class org.microbean.event.EventTypes
-
Returns
trueif and only if the suppliedTypeMirroris a legal observed event type.
O
- org.microbean.event - module org.microbean.event
-
Provides packages related to implementing simple Java events.
- org.microbean.event - package org.microbean.event
-
Provides classes and interfaces related to implementing simple Java events.
S
- size() - Method in class org.microbean.event.EventTypeList
T
- test(Collection, Collection) - Method in class org.microbean.event.EventQualifiersMatcher
-
Returns
trueif and only if either the qualifiers present inreceiverAttributesare empty, or if the collection of qualifiers present inpayloadAttributescontains all of the qualifiers present inreceiverAttributes. - test(TypeMirror, TypeMirror) - Method in class org.microbean.event.EventTypeMatcher
-
Returns
trueif and only if the suppliedpayloadargument (normally an event type) matches the suppliedreceiverargument (normally an observed event type), according to the rules defined by section 2.8.3 of the CDI specification.
All Classes and Interfaces|All Packages|Search Tags