Index
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form
A
- alternate() - Method in interface org.microbean.bean.Ranked
-
Deprecated.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. - alternate(Collection) - Method in class org.microbean.bean.Beans
-
Returns
trueif and only if the suppliedCollectionofAnnotationMirrors contains at least oneAnnotationMirrorfor whichBeans.alternate(AnnotationMirror)returnstrue. - alternate(AnnotationMirror) - Method in class org.microbean.bean.Beans
-
Returns
trueif and only if the suppliedAnnotationMirrordesignates whatever it annotates as being an alternate. - alternate(Bean) - Method in class org.microbean.bean.Beans
- alternate(Id) - Method in class org.microbean.bean.Beans
-
Returns
trueif and only if the suppliedIdhas annotations for whichBeans.alternate(Collection)returnstrue. - alternates() - Method in exception class org.microbean.bean.AmbiguousResolutionException
-
Returns the contextual instances that could not be reduced.
- ambiguityReducing(Selectable, Predicate, ToIntFunction) - Static method in class org.microbean.bean.Selectables
-
Returns a
Selectablethat reduces any ambiguity in the results returned by anotherSelectable, considering notional alternate status and rank. - ambiguous() - Method in class org.microbean.bean.model.Model.DependencyResolution
-
Returns
trueif and only if the return value of an invocation of theModel.DependencyResolution.beans()method has a size greater than1. - ambiguousDependencyResolutions() - Method in class org.microbean.bean.model.Model
-
Returns a non-
null, immutable, determinateSetof allModel.DependencyResolutions managed by thisModelthat are ambiguous. - AmbiguousResolutionException - Exception Class in org.microbean.bean
-
A
ResolutionExceptionindicating that many contextual instances could not be reduced to one. - AmbiguousResolutionException(Object, Collection, String) - Constructor for exception class org.microbean.bean.AmbiguousResolutionException
-
Creates a new
AmbiguousResolutionException. - annotated() - Method in class org.microbean.bean.model.Model.DependencyResolution
-
Returns the non-
null, determinateAnnotated<? extends AnnotatedConstruct>representing thisModel.DependencyResolution's dependency. - annotations() - Method in class org.microbean.bean.Id
- anyAndDefaultQualifiers() - Method in class org.microbean.bean.Qualifiers
-
Returns a non-
null, determinate, immutableListhousing only the any qualifier anddefault qualifier. - anyQualifier() - Method in class org.microbean.bean.Qualifiers
-
Returns the non-
null, determinateAnnotationMirrorrepresenting the any qualifier. - anyQualifier(AnnotationMirror) - Method in class org.microbean.bean.Qualifiers
- anyQualifiers() - Method in class org.microbean.bean.Qualifiers
- assign(Function) - Method in record class org.microbean.bean.Bean
B
- Bean<I> - Record Class in org.microbean.bean
- Bean(Id, Factory) - 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(Qualifiers, Qualifiers) - Constructor for class org.microbean.bean.BeanQualifiersMatcher
-
Creates a new
BeanQualifiersMatcher. - beans() - Method in class org.microbean.bean.model.Model.DependencyResolution
-
Returns the non-
null, immutable, determinateListofBeans representing thisModel.DependencyResolution's dependency resolution. - Beans - Class in org.microbean.bean
-
Utility methods for working with
Beans. - Beans(AnnotationMirror, AnnotationMirror) - Constructor for class org.microbean.bean.Beans
-
Creates a new
Beans. - Beans(Domain) - Constructor for class org.microbean.bean.Beans
-
Creates a new
Beans. - Beans(Domain, AnnotationMirror, AnnotationMirror) - Constructor for class org.microbean.bean.Beans
-
Creates a new
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(Collection) - Method in class org.microbean.bean.BeanTypes
-
Returns a non-
null, determinateBeanTypeListof legal bean types that the suppliedCollectionofTypeMirrors contains. - beanTypes(TypeMirror) - Method in class org.microbean.bean.BeanTypes
-
Returns a non-
null, determinateBeanTypeListof legal bean types that the suppliedTypeMirrorbears. - BeanTypes - Class in org.microbean.bean
-
A specialized
Typesfor working with bean types. - BeanTypes(Domain) - Constructor for class org.microbean.bean.BeanTypes
-
Creates a new
BeanTypes.
C
- cast() - Method in record class org.microbean.bean.Bean
-
Returns this
Bean, forcibly cast appropriately. - CDI Specification, version 4.0, section 2.2.10 - External specification in org.microbean.bean.BeanTypeList.proxiable()
- CDI Specification, version 4.1, section 2.2.1 - External specification in org.microbean.bean.BeanTypes.legalBeanType(TypeMirror)
- CDI Specification, version 4.1, section 3.10 - External specification in org.microbean.bean.BeanTypes.proxiableBeanType(TypeMirror)
- 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.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. - 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) - Method in record class org.microbean.bean.Constant
-
Invokes the
Constant.singleton()method and returns its result. - create(Creation) - 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.ResolutionException
-
Returns this
ResolutionException's criteria object, which may benull.
D
- DEFAULT_RANK - Static variable in interface org.microbean.bean.Ranked
-
Deprecated.The default rank (0) when returned by an implementation of the
Ranked.rank()method. - defaultQualifier() - Method in class org.microbean.bean.Qualifiers
-
Returns the non-
null, determinateAnnotationMirrorrepresenting the default qualifier. - defaultQualifier(AnnotationMirror) - Method in class org.microbean.bean.Qualifiers
- defaultQualifiers() - Method in class org.microbean.bean.Qualifiers
- dependencies() - Method in record class org.microbean.bean.Bean
- 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 class org.microbean.bean.Id
- describeConstable() - Method in class org.microbean.bean.Qualifiers
- Design Note - Section in org.microbean.bean.ReferencesSelector.domain()
- 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(Object) - Method in interface org.microbean.bean.ReferencesSelector
-
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. - domain() - Method in interface org.microbean.bean.ReferencesSelector
E
- 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.Constant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.microbean.bean.Id
- equals(Object) - Method in class org.microbean.bean.model.Model.DependencyResolution
- equals(Object) - Method in class org.microbean.bean.model.Model
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.
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.Bean
-
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 class org.microbean.bean.Id
- hashCode() - Method in class org.microbean.bean.model.Model.DependencyResolution
- hashCode() - Method in class org.microbean.bean.model.Model
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 - Class in org.microbean.bean
-
An identifier for a
Bean. - Id(BeanTypeList, List) - Constructor for class org.microbean.bean.Id
-
Creates a new
Id. - IdMatcher - Class in org.microbean.bean
- IdMatcher(BeanTypeMatcher, BeanQualifiersMatcher) - Constructor for class org.microbean.bean.IdMatcher
-
Creates a new
IdMatcher. - IdMatcher(BeanTypeMatcher, BeanQualifiersMatcher, Matcher) - Constructor for class org.microbean.bean.IdMatcher
-
Creates a new
IdMatcher. - interfaces() - Method in class org.microbean.bean.BeanTypeList
-
Returns a non-
null, immutable, determinateListcontaining only interface types.
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.
M
- Model - Class in org.microbean.bean.model
-
An immutable model of a system's dependency resolutions.
- Model.DependencyResolution - Class in org.microbean.bean.model
-
A representation of the attempted resolution of a dependency, represented by an
Annotated<? extends AnnotatedConstruct>, to aListofBeans that match it.
N
- normalize(Collection) - Method in class org.microbean.bean.Beans
-
Returns a non-
null, determinate, immutableListcontaining a subset of distinct elements contained in the suppliedCollection, sorted in a deliberately unspecified fashion.
O
- of(Selectable) - Static method in class org.microbean.bean.model.Model
- 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.
- org.microbean.bean.model - package org.microbean.bean.model
-
Provides classes and interfaces related to modeling dependency resolutions.
- outranks(int) - Method in interface org.microbean.bean.Ranked
-
Deprecated.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
-
Deprecated.Returns
trueif and only if a rank represented byioutranks a rank represented byj. - outranks(Ranked) - Method in interface org.microbean.bean.Ranked
-
Deprecated.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
-
Deprecated.
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 - Class in org.microbean.bean
-
A utility class for working with qualifiers.
- Qualifiers(Qualifiers, AnnotationMirror, AnnotationMirror) - Constructor for class org.microbean.bean.Qualifiers
-
Creates a new
Qualifiers. - Qualifiers(Domain, Qualifiers) - Constructor for class org.microbean.bean.Qualifiers
-
Creates a new
Qualifiers. - Qualifiers(Domain, Qualifiers, AnnotationMirror, AnnotationMirror) - Constructor for class org.microbean.bean.Qualifiers
-
Creates a new
Qualifiers.
R
- rank() - Method in interface org.microbean.bean.Ranked
-
Deprecated.Returns the rank of this
Rankedimplementation. - rank(Collection) - Method in class org.microbean.bean.Beans
-
Iterates over the supplied
CollectionofAnnotationMirrors and invokes theBeans.rank(AnnotationMirror)method on each one until a non-zero result is found and returns that result, or0in all other cases. - rank(AnnotationMirror) - Method in class org.microbean.bean.Beans
-
Returns an
intrepresenting the rank derivable from the suppliedAnnotationMirror, which may be0, or0if the suppliedAnnotationMirrordoes not or cannot supply a rank. - rank(Bean) - Method in class org.microbean.bean.Beans
- rank(Id) - Method in class org.microbean.bean.Beans
-
Returns the result of invoking the
Beans.rank(Collection)method with the suppliedId's annotations. - Ranked - Interface in org.microbean.bean
-
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated for future removal.
- reference(AnnotatedConstruct) - Method in interface org.microbean.bean.ReferencesSelector
-
Deprecated.Please use the
ReferencesSelector.reference(Annotated)method instead. - reference(Annotated) - Method in interface org.microbean.bean.ReferencesSelector
-
A convenience method that acquires and returns what is presumed, possibly incorrectly, to be the sole contextual reference compatible with the supplied
Annotated<? extends AnnotatedConstruct>. - reference(Bean) - Method in interface org.microbean.bean.ReferencesSelector
-
Returns a non-
null, determinate, contextual reference appropriate for the suppliedBean. - references(AnnotatedConstruct) - Method in interface org.microbean.bean.ReferencesSelector
-
Deprecated.Please use the
ReferencesSelector.references(Annotated)method instead. - references(Annotated) - Method in interface org.microbean.bean.ReferencesSelector
-
Returns a non-
null, determinateReferencescapable of locating contextual references compatible with the suppliedAnnotated<? extends AnnotatedConstruct>. - 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. - ResolutionException - Exception Class in org.microbean.bean
-
A
BeanExceptionconcerning problematic resolutions. - ResolutionException(Object, String, Throwable) - Constructor for exception class org.microbean.bean.ResolutionException
-
Creates a new
ResolutionException.
S
- 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, if known, or a negativeintif the size is not known.
T
- test(Collection, Collection) - Method in class org.microbean.bean.BeanQualifiersMatcher
- 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(Annotated, Id) - Method in class org.microbean.bean.IdMatcher
-
Tests the supplied
Idto see if it matches the suppliedAnnotated<? extends AnnotatedConstruct>and returns the result. - toSelectionCache() - Method in class org.microbean.bean.model.Model
-
Returns a non-
nullBiFunctionthat represents a compute-if-absent operation on an internal, unbounded, thread-safe cache. - 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.Constant
-
Returns a string representation of this record class.
- toString() - Method in class org.microbean.bean.Id
- toString() - Method in class org.microbean.bean.model.Model.DependencyResolution
- toString() - Method in exception class org.microbean.bean.ResolutionException
-
Returns a
Stringreprsentation of thisResolutionException. - types() - Method in class org.microbean.bean.Id
- typesafeFilteringSelectable(Collection, Matcher) - Method in class org.microbean.bean.Beans
-
Normalizes the supplied
CollectionofBeans and returns aSelectablesuitable for it and the suppliedMatcher, using theSelectables.filtering(Collection, BiPredicate)method internally.
U
- unsatisfied() - Method in class org.microbean.bean.model.Model.DependencyResolution
-
Returns
trueif and only if the return value of an invocation of theModel.DependencyResolution.beans()method is empty. - unsatisfiedDependencyResolutions() - Method in class org.microbean.bean.model.Model
-
Returns a non-
null, immutable, determinateSetof allModel.DependencyResolutions managed by thisModelthat are unsatisfied. - UnsatisfiedResolutionException - Exception Class in org.microbean.bean
-
A
ResolutionExceptionindicating that a resolution did not occur because there were no elements to resolve. - UnsatisfiedResolutionException(Object, String, Throwable) - Constructor for exception class org.microbean.bean.UnsatisfiedResolutionException
-
Creates a new
UnsatisfiedResolutionException.
V
- valid() - Method in class org.microbean.bean.model.Model
-
Returns
trueif and only if thisModelis valid.
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form