Index

A D E F G L O S T 
All Classes and Interfaces|All Packages|Search Tags

A

attributedType() - Method in interface org.microbean.event.EventListener
Returns a non-null, determinate AttributedType describing the kinds of events this EventListener is prepared to handle.

D

dependencies() - Method in interface org.microbean.event.EventListener
Returns a non-null, determinate, immutable SequencedSet of AttributedElements representing dependencies this EventListener has that must be resolved before any invocation of the EventListener.eventReceived(Object, ReferencesSelector) method may properly occur.

E

eventDependency() - Method in interface org.microbean.event.EventListener
Returns a non-null, determinate AttributedElement representing the program element for which an event is destined.
EventListener<R,E> - Interface in org.microbean.event
An EventListener, an Aggregate, and an AttributedTyped that receives events.
EventQualifiersMatcher - Class in org.microbean.event
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 often Void (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 AbstractList of TypeMirrors that contains only legal event types, sorted in a specific manner.
EventTypeMatcher - Class in org.microbean.event
EventTypeMatcher(Domain) - Constructor for class org.microbean.event.EventTypeMatcher
Creates a new EventTypeMatcher.
eventTypes(TypeMirror, Object) - Method in class org.microbean.event.EventTypes
Returns an EventTypeList of legal event types that the supplied TypeMirror bears.
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 event to suitable EventListeners.
fire(EventListener, Object, ReferencesSelector) - Method in class org.microbean.event.Events
Delivers ("Fires") the supplied event to the supplied EventListener via its EventListener.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 true if and only if the supplied TypeMirror is a legal event type.
legalObservedEventType(TypeMirror) - Static method in class org.microbean.event.EventTypes
Returns true if and only if the supplied TypeMirror is 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 true if and only if either the qualifiers present in receiverAttributes are empty, or if the collection of qualifiers present in payloadAttributes contains all of the qualifiers present in receiverAttributes.
test(TypeMirror, TypeMirror) - Method in class org.microbean.event.EventTypeMatcher
Returns true if and only if the supplied payload argument (normally an event type) matches the supplied receiver argument (normally an observed event type), according to the rules defined by section 2.8.3 of the CDI specification.
A D E F G L O S T 
All Classes and Interfaces|All Packages|Search Tags