Package org.microbean.bean
package org.microbean.bean
Provides classes and interfaces related to implementing beans.
- Author:
- Laird Nelson
-
ClassDescriptionAn object with dependencies.A
ReductionException
indicating that many contextual instances could not be reduced to one.Assignment<R>A reigstry ofAutoCloseable
instances that itself isAutoCloseable
.Bean<I>ARuntimeException
indicating that an error has occurred in code in this package.AMatcher
encapsulating CDI-compatible bean qualifier matching rules.A pairing of anAttributedType
and aBean
resulting from a reduction.An immutableAbstractList
ofTypeMirror
s that contains only legal bean types, sorted in a specific manner.AnAbstractTypeMatcher
encapsulating CDI-compatible type matching rules.A utility for working with bean types.Constant<I>AFactory
that returns its singleton from itsConstant.create(Request)
method.Creation<I>A representation of aFactory
's creation activity.ABeanException
indicating a problem with creation.A straightforwardAutoCloseableRegistry
implementation.ABeanException
indicating a problem with destruction.AnAutoCloseable
WeakReference
that formally disposes of referents after they have been cleared by the Java Virtual Machine during garbage collection.Factory<I>A creator and destroyer of contextual instances of a particular type.An identifier for aBean
.Initializer<I>An interface whose implementations initialize contextual instances.AProducer
that applies constructor interception to produce contextual instances.An interface whose implementations install around-invoke interceptions.A utility class providing methods that work with interceptor bindings.AMatcher
encapsulating CDI-compatible interceptor binding matching rules.An interface whose implementations complete initialization of contextual instances.An interface whose implementation perform pre-destruction logic for contextual instances.Producer<I>An interface whose implementations produce possibly uninitialized contextual instances.An interface whose implementations can be ranked numerically in descending order (the highest or greatest rank outranks, or wins, or trumps, or comes first).RankedReducer<C,T extends Ranked> Reducer<C,T> A functional interface whose implementations can either reduce a suppliedList
of elements representing a successful selection to a single element normally drawn or calculated from the selection according to some criteria, or fail gracefully in the face of ambiguity by invoking a supplied failure handler.Reducible<C,T> A functional interface whose implementations can reduce an unspecified notional collection of elements to a single element according to some criteria.ABeanException
concerning problematic reductions.Request<I>A request for a contextual reference of a particular attributed type, along with functionality to help fulfil the request.Selectable<C,T> A notional list of elements from which sublists may be selected according to some criteria.AReductionException
indicating that a reduction did not occur because there were no elements to reduce.