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>An assignment of a contextual reference to anAttributedElement
, usually as completed by aReferences
.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.Deprecated.This class seems not to be needed so is tentatively deprecated.Utility methods for working withBean
s.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.An object describing the imminent destruction of a contextual instance by theFactory.destroy(Object, Destruction)
method.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 source of (normally new) contextual instances.An identifier for aBean
.A utility class providing methods that work with interceptor bindings.AMatcher
encapsulating CDI-compatible interceptor binding matching rules.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> Deprecated.This class is not really needed and is tentatively deprecated.Reducer<C,T> Deprecated.This interface is not really needed and is tentatively deprecated.Reducible<C,T> Deprecated.This interface is not really needed and is tentatively deprecated.ABeanException
concerning problematic reductions.References<R>AnIterable
providing access to contextual references of a given type, and aReferencesSelector
providing access to aReferences
of a different type.A supplier ofReferences
objects.Selectable<C,E> A notional list of elements from which immutable sublists may be selected according to some criteria.Utility methods for working withSelectable
s.AReductionException
indicating that a reduction did not occur because there were no elements to reduce.