Module org.microbean.bean
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>AnElement
that has been decorated with attributes.A reigstry ofAutoCloseable
instances that itself isAutoCloseable
.Bean<I>ARuntimeException
indicating that an error has occurred in code in this package.A utility for working with bean types.Constant<I>Creation<I>A representation of aFactory
's creation activity.A straightforwardAutoCloseableRegistry
implementation.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.Initializer<I>A utility class providing methods that work with interceptor bindings.Matcher<A,B> ABiPredicate
with particular semantics associated with itsMatcher.test(Object, Object)
method.Producer<I>An interface whose implementations can be ranked numerically in descending order (highest rank wins, 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.Request<I>A request for a contextual reference of a particular 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.AMatcher
encapsulating CDI-compatible type matching rules.