Index
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form
A
- Aggregate - Interface in org.microbean.bean
-
An object with dependencies.
- alternate() - Method in record class org.microbean.bean.Bean
- alternate() - Method in record class org.microbean.bean.Id
-
Returns the value of the
alternaterecord component. - alternate() - Method in interface org.microbean.bean.Ranked
-
Returns
trueif thisRankedis to be considered an alternate, which may have an effect on how the return value of theRanked.rank()method is interpreted in some situations. - alternates() - Method in exception class org.microbean.bean.AmbiguousReductionException
-
Returns the contextual instances that could not be reduced.
- ambiguityReducing(Selectable<C, E>) - Static method in class org.microbean.bean.Selectables
-
Returns a
Selectablethat reduces any ambiguity in the results returned by anotherSelectable, considering alternate status and rank. - AmbiguousReductionException - Exception Class in org.microbean.bean
-
A
ReductionExceptionindicating that many contextual instances could not be reduced to one. - AmbiguousReductionException(Object, Collection<?>, String) - Constructor for exception class org.microbean.bean.AmbiguousReductionException
-
Creates a new
AmbiguousReductionException. - anyInterceptorBinding() - Static method in class org.microbean.bean.InterceptorBindings
-
Returns a
Attributesrepresenting the any interceptor binding. - anyInterceptorBinding(Attributes) - Static method in class org.microbean.bean.InterceptorBindings
-
Returns
trueif and only if the suppliedAttributesrepresents the any interceptor binding. - assign(Function<? super AttributedType, ?>) - Method in interface org.microbean.bean.Aggregate
-
A convenience method that assigns a contextual reference to each of this
Aggregate'sAttributedElementinstances and returns the resultingSequencedSetofAssignments. - assign(Function<? super AttributedType, ?>) - Method in record class org.microbean.bean.Bean
- assignee() - Method in record class org.microbean.bean.Assignment
-
Returns the value of the
assigneerecord component. - Assignment<R> - Record Class in org.microbean.bean
-
An assignment of a contextual reference to an
AttributedElement, usually as completed by aReferences. - Assignment(AttributedElement, R) - Constructor for record class org.microbean.bean.Assignment
-
Creates a new
Assignment. - AttributedElement - Record Class in org.microbean.bean
- AttributedElement(Element, List<Attributes>) - Constructor for record class org.microbean.bean.AttributedElement
-
Creates a new
AttributedElement. - attributedType() - Method in record class org.microbean.bean.AttributedElement
-
Returns this
AttributedElement'sAttributedType. - attributedType() - Method in record class org.microbean.bean.BeanReduction
-
Deprecated.Returns the value of the
attributedTyperecord component. - AttributedType - Record Class in org.microbean.bean
- AttributedType(TypeMirror) - Constructor for record class org.microbean.bean.AttributedType
-
Creates a new
AttributedType. - AttributedType(TypeMirror, List<Attributes>) - Constructor for record class org.microbean.bean.AttributedType
-
Creates a new
AttributedType. - AttributedType(TypeMirror, Attributes...) - Constructor for record class org.microbean.bean.AttributedType
-
Creates a new
AttributedType. - attributes() - Method in record class org.microbean.bean.AttributedElement
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class org.microbean.bean.AttributedType
-
Returns the value of the
attributesrecord component. - attributes() - Method in record class org.microbean.bean.Id
-
Returns the value of the
attributesrecord component. - AutoCloseableRegistry - Interface in org.microbean.bean
-
A reigstry of
AutoCloseableinstances that itself isAutoCloseable.
B
- bean() - Method in record class org.microbean.bean.BeanReduction
-
Deprecated.Returns the value of the
beanrecord component. - Bean<I> - Record Class in org.microbean.bean
- Bean(Id, Factory<I>) - Constructor for record class org.microbean.bean.Bean
-
Creates a new
Bean. - BeanException - Exception Class in org.microbean.bean
-
A
RuntimeExceptionindicating that an error has occurred in code in this package. - BeanException() - Constructor for exception class org.microbean.bean.BeanException
-
Creates a new
BeanException. - BeanException(String) - Constructor for exception class org.microbean.bean.BeanException
-
Creates a new
BeanException. - BeanException(String, Throwable) - Constructor for exception class org.microbean.bean.BeanException
-
Creates a new
BeanException. - BeanException(Throwable) - Constructor for exception class org.microbean.bean.BeanException
-
Creates a new
BeanException. - BeanQualifiersMatcher - Class in org.microbean.bean
-
A
Matcherencapsulating CDI-compatible bean qualifier matching rules. - BeanQualifiersMatcher() - Constructor for class org.microbean.bean.BeanQualifiersMatcher
-
Creates a new
BeanQualifiersMatcher. - BeanReduction<I> - Record Class in org.microbean.bean
-
Deprecated.This class seems not to be needed so is tentatively deprecated.
- BeanReduction(AttributedType, Bean<I>) - Constructor for record class org.microbean.bean.BeanReduction
-
Deprecated.Creates a new
BeanReduction. - Beans - Class in org.microbean.bean
-
Utility methods for working with
Beans. - BeanTypeList - Class in org.microbean.bean
-
An immutable
AbstractListofTypeMirrors that contains only legal bean types, sorted in a specific manner. - BeanTypeMatcher - Class in org.microbean.bean
-
An
AbstractTypeMatcherencapsulating CDI-compatible type matching rules. - BeanTypeMatcher(Domain) - Constructor for class org.microbean.bean.BeanTypeMatcher
-
Creates a new
BeanTypeMatcher. - beanTypes(TypeMirror) - Method in class org.microbean.bean.BeanTypes
- BeanTypes - Class in org.microbean.bean
-
A utility for working with bean types.
- BeanTypes(Domain) - Constructor for class org.microbean.bean.BeanTypes
-
Creates a new
BeanTypes.
C
- caching(Selectable<C, E>) - Static method in class org.microbean.bean.Selectables
-
Returns a
Selectablethat caches its results. - caching(Selectable<C, E>, BiFunction<? super C, Function<? super C, ? extends List<E>>, ? extends List<E>>) - Static method in class org.microbean.bean.Selectables
-
Returns a
Selectablethat caches its results. - cast() - Method in record class org.microbean.bean.Bean
-
Returns this
Bean, forcibly cast appropriately. - CDI Specification, version 4.0, section 2.2.10 - Search tag in org.microbean.bean.BeanTypeList.proxiable()
- External Specification
- CDI Specification, version 4.1, section 2.2.1 - Search tag in org.microbean.bean.BeanTypes.legalBeanType(TypeMirror)
- External Specification
- CDI Specification, version 4.1, section 3.10 - Search tag in org.microbean.bean.BeanTypes.proxiableBeanType(TypeMirror)
- External Specification
- clearCaches() - Method in class org.microbean.bean.BeanTypes
-
Clears caches that may be used internally by this
BeanTypes. - close() - Method in interface org.microbean.bean.AutoCloseableRegistry
- close() - Method in class org.microbean.bean.DefaultAutoCloseableRegistry
- close() - Method in interface org.microbean.bean.Destruction
-
Closes this
Destructionidempotently, normally thereby releasing a contextual instance's dependent objects that have been stored opaquely in thisDestructionby some other mechanism at creation time. - close() - Method in class org.microbean.bean.DisposableReference
-
Calls
Reference.enqueue(). - closed() - Method in interface org.microbean.bean.AutoCloseableRegistry
- closed() - Method in class org.microbean.bean.DefaultAutoCloseableRegistry
- closed() - Method in class org.microbean.bean.DisposableReference
-
Calls
refersTo(null)and returns the result. - Constant<I> - Record Class in org.microbean.bean
-
A
Factorythat returns its singleton from itsConstant.create(Request)method. - Constant(I) - Constructor for record class org.microbean.bean.Constant
-
Creates a new
Constant. - create(Creation<I>) - Method in record class org.microbean.bean.Constant
-
Invokes the
Constant.singleton()method and returns its result. - create(Creation<I>) - Method in interface org.microbean.bean.Factory
-
Returns a (normally new) contextual instance, which may be
null. - creating(I) - Method in interface org.microbean.bean.Creation
-
Signals that the supplied
instanceis in the process of being created, typically by an invocation of aFactory'screate(Creation)method, and is about to be made available for use. - Creation<I> - Interface in org.microbean.bean
-
A representation of a
Factory's creation activity. - CreationException - Exception Class in org.microbean.bean
-
A
BeanExceptionindicating a problem with creation. - CreationException() - Constructor for exception class org.microbean.bean.CreationException
-
Creates a new
CreationException. - CreationException(String) - Constructor for exception class org.microbean.bean.CreationException
-
Creates a new
CreationException. - CreationException(String, Throwable) - Constructor for exception class org.microbean.bean.CreationException
-
Creates a new
CreationException. - CreationException(Throwable) - Constructor for exception class org.microbean.bean.CreationException
-
Creates a new
CreationException. - criteria() - Method in exception class org.microbean.bean.ReductionException
-
Returns this
ReductionException's criteria object, which may benull.
D
- DEFAULT_RANK - Static variable in interface org.microbean.bean.Ranked
-
The default rank (0) when returned by an implementation of the
Ranked.rank()method. - DefaultAutoCloseableRegistry - Class in org.microbean.bean
-
A straightforward
AutoCloseableRegistryimplementation. - DefaultAutoCloseableRegistry() - Constructor for class org.microbean.bean.DefaultAutoCloseableRegistry
-
Creates a new
DefaultAutoCloseableRegistry. - dependencies() - Method in interface org.microbean.bean.Aggregate
-
Returns an immutable
SequencedSetofAttributedElementinstances. - dependencies() - Method in record class org.microbean.bean.Bean
- describeConstable() - Method in record class org.microbean.bean.AttributedElement
-
Returns an
Optionalcontaining aConstantDescdescribing thisAttributedType, or an emptyOptionalif it could not be described. - describeConstable() - Method in record class org.microbean.bean.AttributedType
-
Returns an
Optionalcontaining aConstantDescdescribing thisAttributedType, or an emptyOptionalif it could not be described. - describeConstable() - Method in record class org.microbean.bean.Bean
- describeConstable() - Method in class org.microbean.bean.BeanTypeList
- describeConstable() - Method in record class org.microbean.bean.Constant
- describeConstable() - Method in interface org.microbean.bean.Factory
-
Returns an
Optionalcontaining the nominal descriptor for this instance, if one can be constructed, or an emptyOptionalif one cannot be constructed. - describeConstable() - Method in record class org.microbean.bean.Id
- destroy(I, Destruction) - Method in record class org.microbean.bean.Constant
- destroy(I, Destruction) - Method in interface org.microbean.bean.Factory
-
Destroys the supplied contextual instance.
- destroy(R) - Method in interface org.microbean.bean.References
-
Destroys the supplied contextual reference if and only if it meets the conditions for destruction.
- destroys() - Method in record class org.microbean.bean.Constant
-
Returns
trueif and only if the return value of an invocation of theConstant.singleton()method isAutoCloseable. - destroys() - Method in interface org.microbean.bean.Factory
- Destruction - Interface in org.microbean.bean
-
An object describing the imminent destruction of a contextual instance by the
Factory.destroy(Object, Destruction)method. - DestructionException - Exception Class in org.microbean.bean
-
A
BeanExceptionindicating a problem with destruction. - DestructionException() - Constructor for exception class org.microbean.bean.DestructionException
-
Creates a new
DestructionException. - DestructionException(String) - Constructor for exception class org.microbean.bean.DestructionException
-
Creates a new
DestructionException. - DestructionException(String, Throwable) - Constructor for exception class org.microbean.bean.DestructionException
-
Creates a new
DestructionException. - DestructionException(Throwable) - Constructor for exception class org.microbean.bean.DestructionException
-
Creates a new
DestructionException. - DisposableReference<R> - Class in org.microbean.bean
-
An
AutoCloseableWeakReferencethat formally disposes of referents after they have been cleared by the Java Virtual Machine during garbage collection. - DisposableReference(R, Consumer<? super R>) - Constructor for class org.microbean.bean.DisposableReference
-
Creates a new
DisposableReference. - dispose() - Method in class org.microbean.bean.DisposableReference
-
If there has been no prior successful invocation of this method, calls the
accept(Object)method on theConsumerrepresenting the disposer supplied at construction time, thus notionally disposing the referent supplied at construction time, and returnstrue. - disposed() - Method in class org.microbean.bean.DisposableReference
-
Returns
trueif and only if there has been a prior successful invocation ofDisposableReference.dispose()that returnedtrue.
E
- element() - Method in record class org.microbean.bean.AttributedElement
-
Returns the value of the
elementrecord component. - empty() - Static method in class org.microbean.bean.Selectables
-
Returns a
SelectablewhoseSelectable.select(Object)method always returns an empty, immutableList. - EMPTY_ASSIGNMENTS - Static variable in interface org.microbean.bean.Aggregate
-
An immutable, empty
SequencedSetofAssignments. - EMPTY_DEPENDENCIES - Static variable in interface org.microbean.bean.Aggregate
-
An immutable, empty
SequencedSetofAttributedElements. - equals(Object) - Method in record class org.microbean.bean.Assignment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.AttributedElement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.AttributedType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.Bean
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.BeanReduction
-
Deprecated.Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.Constant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.microbean.bean.Id
-
Indicates whether some other object is "equal to" this one.
F
- factory() - Method in record class org.microbean.bean.Bean
-
Returns the value of the
factoryrecord component. - Factory<I> - Interface in org.microbean.bean
-
A source of (normally new) contextual instances.
- fail(List<? extends T>, C) - Static method in interface org.microbean.bean.Reducer
-
Deprecated.Throws an
UnsatisfiedReductionExceptionifelementsis empty, throws anAmbiguousReductionExceptionif the size ofelementsis greater than1, and returns the sole element ofelementsotherwise. - filtering(Collection<? extends E>, BiFunction<? super E, ? super C, ? extends Boolean>) - Static method in class org.microbean.bean.Selectables
-
Returns a
Selectableusing the suppliedCollectionas its elements, and the suppliedBiFunctionas its selector function.
G
- get() - Method in interface org.microbean.bean.References
-
A convenience method that acquires and returns what is presumed, possibly incorrectly, to be the sole contextual reference available from this
References. - get(int) - Method in class org.microbean.bean.BeanTypeList
H
- hashCode() - Method in record class org.microbean.bean.Assignment
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.AttributedElement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.AttributedType
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.Bean
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.BeanReduction
-
Deprecated.Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.Constant
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.microbean.bean.Id
-
Returns a hash code value for this object.
I
- id() - Method in record class org.microbean.bean.Bean
-
Returns the value of the
idrecord component. - id() - Method in interface org.microbean.bean.Creation
- Id - Record Class in org.microbean.bean
-
An identifier for a
Bean. - Id(BeanTypeList, List<Attributes>) - Constructor for record class org.microbean.bean.Id
-
Creates a new
Idthat is not an alternate and that therefore has a default rank. - Id(BeanTypeList, List<Attributes>, boolean, int) - Constructor for record class org.microbean.bean.Id
-
Creates a new
Id. - IdMatcher - Class in org.microbean.bean
- IdMatcher(BeanQualifiersMatcher, InterceptorBindingsMatcher, BeanTypeMatcher) - Constructor for class org.microbean.bean.IdMatcher
-
Creates a new
IdMatcher. - interceptorBinding() - Static method in class org.microbean.bean.InterceptorBindings
-
Returns a
Attributesrepresenting the interceptor binding (meta-) interceptor binding. - interceptorBinding(Attributes) - Static method in class org.microbean.bean.InterceptorBindings
-
Returns
trueif and only if the suppliedAttributesis itself aAttributesthat can be used to designate otherAttributesinstances as interceptor bindings, or aAttributesso designated. - interceptorBindings(Collection<? extends Attributes>) - Static method in class org.microbean.bean.InterceptorBindings
-
Given a
CollectionofAttributess, returns an immutableListconsisting of thoseAttributesinstances that are deemed to be interceptor bindings. - interceptorBindings(Collection<? extends Attributes>) - Method in class org.microbean.bean.InterceptorBindingsMatcher
-
Given a
CollectionofAttributess, returns an immutableCollectionconsisting of thoseAttributesinstances that are deemed to be interceptor bindings. - InterceptorBindings - Class in org.microbean.bean
-
A utility class providing methods that work with interceptor bindings.
- InterceptorBindingsMatcher - Class in org.microbean.bean
-
A
Matcherencapsulating CDI-compatible interceptor binding matching rules. - InterceptorBindingsMatcher() - Constructor for class org.microbean.bean.InterceptorBindingsMatcher
-
Creates a new
InterceptorBindingsMatcher. - interfaceIndex() - Method in class org.microbean.bean.BeanTypeList
-
Returns the index of the first interface type this
BeanTypeListcontains, or a negative value if it contains no interface types. - isEmpty() - Method in class org.microbean.bean.BeanTypeList
L
- legalBeanType(TypeMirror) - Static method in class org.microbean.bean.BeanTypes
-
Returns
trueif and only if the suppliedTypeMirroris a legal bean type as defined by the CDI specification. - list() - Method in interface org.microbean.bean.Selectable
-
Returns an immutable
Listof all of thisSelectable's elements.
N
- newChild() - Method in interface org.microbean.bean.AutoCloseableRegistry
-
Returns a new
AutoCloseableRegistryinstance that is not closed, has no registrations yet, and is registered with thisAutoCloseableRegistry. - newChild() - Method in class org.microbean.bean.DefaultAutoCloseableRegistry
-
Returns a new
DefaultAutoCloseableRegistryinstance that is not closed, has no registrations yet, and is registered with thisDefaultAutoCloseableRegistry. - normalize(Collection<? extends Bean<?>>) - Static method in class org.microbean.bean.Beans
-
Returns an immutable
Listcontaining a subset of distinct elements contained in the suppliedCollection, sorted in a deliberately unspecified fashion.
O
- of() - Static method in class org.microbean.bean.RankedReducer
-
Deprecated.Returns a
RankedReducerimplementation. - of(TypeMirror, Attributes...) - Static method in record class org.microbean.bean.AttributedType
-
Returns an
AttributedTypecomprising the supplied arguments. - of(Selectable<C, E>, Reducer<C, E>) - Static method in interface org.microbean.bean.Reducible
-
Deprecated.Calls the
Reducible.of(Selectable, Reducer, BiFunction)method with the suppliedselectable, the suppliedr, and a reference to theReducer.fail(List, Object)method, and returns the result. - of(Selectable<C, E>, Reducer<C, E>, BiFunction<? super List<? extends E>, ? super C, ? extends E>) - Static method in interface org.microbean.bean.Reducible
-
Deprecated.
- of(Domain, Collection<? extends TypeMirror>) - Static method in class org.microbean.bean.BeanTypeList
-
Returns a non-
nullBeanTypeListsuitable for the supplied arguments. - ofCaching(Selectable<C, E>, Reducer<C, E>) - Static method in interface org.microbean.bean.Reducible
-
Deprecated.Calls the
Reducible.ofCaching(Selectable, Reducer, BiFunction)method with the suppliedselectable, the suppliedr, the suppliedfailureHandler, and a reference to theReducer.fail(List, Object)method, and returns its result. - ofCaching(Selectable<C, E>, Reducer<C, E>, BiFunction<? super List<? extends E>, ? super C, ? extends E>) - Static method in interface org.microbean.bean.Reducible
-
Deprecated.Calls the
Reducible.ofCaching(Selectable, Reducer, BiFunction, BiFunction)method with the suppliedselectable, the suppliedr, the suppliedfh, and a reference to thecomputeIfAbsent(Object, Function)method of a newConcurrentHashMap, and returns its result. - ofCaching(Selectable<C, E>, Reducer<C, E>, BiFunction<? super List<? extends E>, ? super C, ? extends E>, BiFunction<? super C, Function<C, E>, ? extends E>) - Static method in interface org.microbean.bean.Reducible
-
Deprecated.Returns a
Reducibleimplementation that uses the suppliedReducerfor its reduction operations and the suppliedcomputeIfAbsentBiFunctionfor its caching implementation. - ofFailing() - Static method in interface org.microbean.bean.Reducer
-
Deprecated.Returns a
ReducerwhoseReducer.reduce(List, Object, BiFunction)method, for a givenListof elements, returns the result of invoking its supplied failure handler. - ofSimple() - Static method in interface org.microbean.bean.Reducer
-
Deprecated.Returns a
ReducerwhoseReducer.reduce(List, Object, BiFunction)method, for a givenListof elements, returns theList's sole element if theListhas exactly one element, and returns the result of invoking its supplied failure handler otherwise. - org.microbean.bean - module org.microbean.bean
-
Provides packages related to implementing beans.
- org.microbean.bean - package org.microbean.bean
-
Provides classes and interfaces related to implementing beans.
- outranks(int) - Method in interface org.microbean.bean.Ranked
-
Returns
trueif thisRankedbears a rank that outranks the rank represented byjaccording to the rules described in the specification for theoutranks(int, int)method. - outranks(int, int) - Static method in interface org.microbean.bean.Ranked
-
Returns
trueif and only if a rank represented byioutranks a rank represented byj. - outranks(Ranked) - Method in interface org.microbean.bean.Ranked
-
Returns
trueif thisRankedoutranks the suppliedRankedaccording to the rules described in the specification for theoutranks(int, int)method. - outranks(Ranked, Ranked) - Static method in interface org.microbean.bean.Ranked
P
- proxiable() - Method in class org.microbean.bean.BeanTypeList
-
Returns
trueif and only if thisBeanTypeListis proxiable. - proxiableBeanType(TypeMirror) - Static method in class org.microbean.bean.BeanTypes
-
Returns
trueif and only if the suppliedTypeMirroris a legal, declared, proxiable bean type as defined by the CDI specification.
Q
- qualifiers(Collection<? extends Attributes>) - Method in class org.microbean.bean.BeanQualifiersMatcher
-
Returns an unmodifiable
Collectionconsisting only of thoseAttributess in the suppliedCollectionthat are deemed to be qualifiers.
R
- rank() - Method in record class org.microbean.bean.Bean
- rank() - Method in record class org.microbean.bean.Id
-
Returns the value of the
rankrecord component. - rank() - Method in interface org.microbean.bean.Ranked
-
Returns the rank of this
Rankedimplementation. - Ranked - Interface in org.microbean.bean
-
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> - Class in org.microbean.bean -
Deprecated.This class is not really needed and is tentatively deprecated.
- reduce(C) - Method in interface org.microbean.bean.Reducible
-
Deprecated.Given a criteria object, which may be
null, returns an object that represents the reduction of a notional collection of objects. - reduce(List<? extends T>, C) - Method in interface org.microbean.bean.Reducer
-
Deprecated.Invokes the
Reducer.reduce(List, Object, BiFunction)method with the supplied arguments and a reference to theReducer.fail(List, Object)method, and returns the result. - reduce(List<? extends T>, C, BiFunction<? super List<? extends T>, ? super C, ? extends T>) - Method in class org.microbean.bean.RankedReducer
-
Deprecated.
- reduce(List<? extends T>, C, BiFunction<? super List<? extends T>, ? super C, ? extends T>) - Method in interface org.microbean.bean.Reducer
-
Deprecated.Performs some kind of reductive or filtering operation on the supplied
List, according to the supplied criteria, and returns the single result, or, if reduction fails, invokes the suppliedBiFunctionwith a sublist representing a partial reduction (or an empty list representing a reduction that simply could not be performed), along with the supplied criteria, and returns its result. - reduce(Selectable<? super C, ? extends T>, C) - Method in interface org.microbean.bean.Reducer
-
Deprecated.Invokes the
Reducer.reduce(List, Object, BiFunction)method with the return value of an invocation of theselect(Object)method on the suppliedSelectablesupplied withc, and the suppliedcand a reference to thefail(List, Object)method, and returns the result. - reduce(Selectable<? super C, ? extends T>, C, BiFunction<? super List<? extends T>, ? super C, ? extends T>) - Method in interface org.microbean.bean.Reducer
-
Deprecated.Invokes the
Reducer.reduce(List, Object, BiFunction)method with the return value of an invocation of theselect(Object)method on the suppliedSelectablesupplied withc, and the suppliedcandfailureHandlerarguments, and returns the result. - Reducer<C,
T> - Interface in org.microbean.bean -
Deprecated.This interface is not really needed and is tentatively deprecated.
- Reducible<C,
T> - Interface in org.microbean.bean -
Deprecated.This interface is not really needed and is tentatively deprecated.
- ReductionException - Exception Class in org.microbean.bean
-
A
BeanExceptionconcerning problematic reductions. - ReductionException(Object, String, Throwable) - Constructor for exception class org.microbean.bean.ReductionException
-
Creates a new
ReductionException. - reference(AttributedType) - Method in interface org.microbean.bean.ReferencesSelector
-
Returns the sole contextual reference of the relevant type.
- references(AttributedType) - Method in interface org.microbean.bean.ReferencesSelector
-
Returns a
Referencescapable of locating contextual references of the relevant type. - References<R> - Interface in org.microbean.bean
-
An
Iterableproviding access to contextual references of a given type, and aReferencesSelectorproviding access to aReferencesof a different type. - ReferencesSelector - Interface in org.microbean.bean
-
A supplier of
Referencesobjects. - register(AutoCloseable) - Method in interface org.microbean.bean.AutoCloseableRegistry
-
If this
AutoCloseableRegistryis not closed, and if the suppliedAutoCloseablehas not yet been registered, registers it such that it will be closed when thisAutoCloseableRegistryis closed, and returnstrue. - register(AutoCloseable) - Method in class org.microbean.bean.DefaultAutoCloseableRegistry
-
If this
DefaultAutoCloseableRegistryis not closed, and if the suppliedAutoCloseablehas not yet been registered, registers it such that it will be closed when thisDefaultAutoCloseableRegistryis closed, and returnstrue. - returnNull(A, B) - Static method in interface org.microbean.bean.Reducer
-
Deprecated.Returns
nullwhen invoked, regardless of arguments.
S
- select(C) - Method in interface org.microbean.bean.Selectable
-
Selects and returns an immutable
Listrepresenting a sublist of thisSelectable's elements, as mediated by the supplied criteria. - Selectable<C,
E> - Interface in org.microbean.bean -
A notional list of elements from which immutable sublists may be selected according to some criteria.
- Selectables - Class in org.microbean.bean
-
Utility methods for working with
Selectables. - singleton() - Method in record class org.microbean.bean.Constant
-
Returns the value of the
singletonrecord component. - singleton() - Method in interface org.microbean.bean.Factory
-
Returns the sole contextual instance of this
Factory's type, if there is one, ornullin the very common case that there is not. - size() - Method in class org.microbean.bean.BeanTypeList
- size() - Method in interface org.microbean.bean.References
-
Returns the size of this
References.
T
- targetClassInterceptorBinding(String) - Static method in class org.microbean.bean.InterceptorBindings
-
Returns a
Attributesrepresenting a target class interceptor binding. - targetClassInterceptorBinding(Attributes) - Static method in class org.microbean.bean.InterceptorBindings
-
Returns
trueif and only if the suppliedAttributesis a target class interceptor binding. - test(Collection<? extends Attributes>, Collection<? extends Attributes>) - Method in class org.microbean.bean.BeanQualifiersMatcher
-
Returns
trueif and only if either (a) the collection of qualifiers present inreceiverAttributesis empty and either the collection of qualifiers present inpayloadAttributesis also empty or contains the default qualifier, or (b) if the collection of qualifiers present inpayloadAttributesis empty or the return value ofQualifiers.anyAndDefaultQualifiers()contains all of the qualifiers present inreceiverAttributes, or (c) if the collection of qualifiers present inpayloadAttributescontains all of the qualifiers present inreceiverAttributes. - test(Collection<? extends Attributes>, Collection<? extends Attributes>) - Method in class org.microbean.bean.InterceptorBindingsMatcher
-
Returns
trueif and only if either (a) both the collection of interceptor bindings present inreceiverAttributesand the collection of interceptor bindings present inpayloadAttributesare empty, or (b) if the collection of interceptor bindings present inpayloadAttributeshas only one element and that element is the any interceptor binding, or (c) the sizes of the collection of interceptor bindings present inreceiverAttributesand the collection of interceptor bindings present inpayloadAttributesare the same and the collection of interceptor bindings present inreceiverAttributescontains all the collection of interceptor bindings present inpayloadAttributesand the collection of interceptor bindings present inpayloadAttributescontains all the collection of interceptor bindings present inreceiverAttributes. - test(TypeMirror, Iterable<? extends TypeMirror>) - Method in class org.microbean.bean.IdMatcher
-
Tests the supplied
IterableofTypeMirrors to see if at least oneTypeMirrorit yields matches the suppliedTypeMirrorand returns the result. - test(TypeMirror, TypeMirror) - Method in class org.microbean.bean.BeanTypeMatcher
-
Returns
trueif and only if the suppliedpayloadargument matches the suppliedreceiverargument, according to the rules defined by section 2.4.2.1 of the CDI specification. - test(AttributedType, Id) - Method in class org.microbean.bean.IdMatcher
-
Tests the supplied
Idto see if it matches the suppliedAttributedTypeand returns the result. - toString() - Method in record class org.microbean.bean.Assignment
-
Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.AttributedElement
-
Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.AttributedType
-
Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.Bean
-
Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.BeanReduction
-
Deprecated.Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.Constant
-
Returns a string representation of this record class.
- toString() - Method in record class org.microbean.bean.Id
-
Returns a string representation of this record class.
- toString() - Method in exception class org.microbean.bean.ReductionException
-
Returns a
Stringreprsentation of thisReductionException. - type() - Method in record class org.microbean.bean.AttributedElement
-
Returns this
AttributedElement's type. - type() - Method in record class org.microbean.bean.AttributedType
-
Returns the value of the
typerecord component. - types() - Method in record class org.microbean.bean.Id
-
Returns the value of the
typesrecord component. - typesafeReducing(Collection<? extends Bean<?>>, Matcher<? super AttributedType, ? super Id>) - Static method in class org.microbean.bean.Selectables
-
Normalizes the supplied
CollectionofBeans and returns aSelectablefor it and the suppliedMatcher.
U
- UnsatisfiedReductionException - Exception Class in org.microbean.bean
-
A
ReductionExceptionindicating that a reduction did not occur because there were no elements to reduce. - UnsatisfiedReductionException(Object, String, Throwable) - Constructor for exception class org.microbean.bean.UnsatisfiedReductionException
-
Creates a new
UnsatisfiedReductionException.
V
- value() - Method in record class org.microbean.bean.Assignment
-
Returns the value of the
valuerecord component.
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form