Index

A B C D E F G H I L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form

A

alternate() - Method in interface org.microbean.bean.Ranked
Deprecated.
Returns true if this Ranked is to be considered an alternate, which may have an effect on how the return value of the Ranked.rank() method is interpreted in some situations.
alternate(Collection) - Method in class org.microbean.bean.Beans
Returns true if and only if the supplied Collection of AnnotationMirrors contains at least one AnnotationMirror for which Beans.alternate(AnnotationMirror) returns true.
alternate(AnnotationMirror) - Method in class org.microbean.bean.Beans
Returns true if and only if the supplied AnnotationMirror designates whatever it annotates as being an alternate.
alternate(Bean) - Method in class org.microbean.bean.Beans
Returns true if and only if the supplied Bean has an Id for which Beans.alternate(Id) returns true.
alternate(Id) - Method in class org.microbean.bean.Beans
Returns true if and only if the supplied Id has annotations for which Beans.alternate(Collection) returns true.
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 Selectable that reduces any ambiguity in the results returned by another Selectable, considering notional alternate status and rank.
ambiguous() - Method in class org.microbean.bean.model.Model.DependencyResolution
Returns true if and only if the return value of an invocation of the Model.DependencyResolution.beans() method has a size greater than 1.
ambiguousDependencyResolutions() - Method in class org.microbean.bean.model.Model
Returns a non-null, immutable, determinate Set of all Model.DependencyResolutions managed by this Model that are ambiguous.
AmbiguousResolutionException - Exception Class in org.microbean.bean
A ResolutionException indicating that many contextual instances could not be reduced to one.
AmbiguousResolutionException(Object, Collection, String) - Constructor for exception class org.microbean.bean.AmbiguousResolutionException
annotated() - Method in class org.microbean.bean.model.Model.DependencyResolution
Returns the non-null, determinate Annotated<? extends AnnotatedConstruct> representing this Model.DependencyResolution's dependency.
annotations() - Method in class org.microbean.bean.Id
Returns a non-null, immutable, determinate List of AnnotationMirrors describing this Id.
anyAndDefaultQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns a non-null, determinate, immutable List housing only the any qualifier and default qualifier.
anyQualifier() - Method in class org.microbean.bean.Qualifiers
Returns the non-null, determinate AnnotationMirror representing the any qualifier.
anyQualifier(AnnotationMirror) - Method in class org.microbean.bean.Qualifiers
Returns true if and only if the supplied AnnotationMirror is the same as the any qualifier.
anyQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns a non-null, determinate, immutable List housing only the any qualifier.
assign(Function) - Method in record class org.microbean.bean.Bean
 

B

Bean<I> - Record Class in org.microbean.bean
A (Constable) pairing of an Id with a Factory.
Bean(Id, Factory) - Constructor for record class org.microbean.bean.Bean
Creates a new Bean.
BeanException - Exception Class in org.microbean.bean
A RuntimeException indicating 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
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, determinate List of Beans representing this Model.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 AbstractList of TypeMirrors that contains only legal bean types, sorted in a specific manner.
BeanTypeMatcher - Class in org.microbean.bean
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, determinate BeanTypeList of legal bean types that the supplied Collection of TypeMirrors contains.
beanTypes(TypeMirror) - Method in class org.microbean.bean.BeanTypes
Returns a non-null, determinate BeanTypeList of legal bean types that the supplied TypeMirror bears.
BeanTypes - Class in org.microbean.bean
A specialized Types for 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 Destruction idempotently, normally thereby releasing a contextual instance's dependent objects that have been stored opaquely in this Destruction by some other mechanism at creation time.
Constant<I> - Record Class in org.microbean.bean
A Factory that returns its singleton from its Constant.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 instance is in the process of being created, typically by an invocation of a Factory's create(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 BeanException indicating 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 be null.

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, determinate AnnotationMirror representing the default qualifier.
defaultQualifier(AnnotationMirror) - Method in class org.microbean.bean.Qualifiers
Returns true if and only if the supplied AnnotationMirror is the same as the default qualifier.
defaultQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns a non-null, determinate, immutable List housing only the default qualifier.
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 Optional containing the nominal descriptor for this instance, if one can be constructed, or an empty Optional if 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 true if and only if the return value of an invocation of the Constant.singleton() method is AutoCloseable.
destroys() - Method in interface org.microbean.bean.Factory
Returns true if this Factory implementation destroys its created contextual instances in some way, or false if it does not.
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 BeanException indicating 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
Returns a non-null Domain that can be used to furnish AnnotatedConstructs.

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 factory record 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 id record component.
id() - Method in interface org.microbean.bean.Creation
Returns the determinate Id of the Bean whose Factory's Factory.create(Creation) invocation was responsible for the existence of this Creation, or null if the Id is not known.
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
A Matcher that tests an Id to see if it matches an AnnotatedConstruct.
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, determinate List containing only interface types.

L

legalBeanType(TypeMirror) - Static method in class org.microbean.bean.BeanTypes
Returns true if and only if the supplied TypeMirror is 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 a List of Beans that match it.

N

normalize(Collection) - Method in class org.microbean.bean.Beans
Returns a non-null, determinate, immutable List containing a subset of distinct elements contained in the supplied Collection, sorted in a deliberately unspecified fashion.

O

of(Selectable) - Static method in class org.microbean.bean.model.Model
Returns a non-null Model built from the supplied Selectable.
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 true if this Ranked bears a rank that outranks the rank represented by j according to the rules described in the specification for the outranks(int, int) method.
outranks(int, int) - Static method in interface org.microbean.bean.Ranked
Deprecated.
Returns true if and only if a rank represented by i outranks a rank represented by j.
outranks(Ranked) - Method in interface org.microbean.bean.Ranked
Deprecated.
Returns true if this Ranked outranks the supplied Ranked according to the rules described in the specification for the outranks(int, int) method.
outranks(Ranked, Ranked) - Static method in interface org.microbean.bean.Ranked
Deprecated.
Returns true if and only if r0 is non-null and outranks r1.

P

proxiable() - Method in class org.microbean.bean.BeanTypeList
Returns true if and only if this BeanTypeList is proxiable.
proxiableBeanType(TypeMirror) - Static method in class org.microbean.bean.BeanTypes
Returns true if and only if the supplied TypeMirror is 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 Ranked implementation.
rank(Collection) - Method in class org.microbean.bean.Beans
Iterates over the supplied Collection of AnnotationMirrors and invokes the Beans.rank(AnnotationMirror) method on each one until a non-zero result is found and returns that result, or 0 in all other cases.
rank(AnnotationMirror) - Method in class org.microbean.bean.Beans
Returns an int representing the rank derivable from the supplied AnnotationMirror, which may be 0, or 0 if the supplied AnnotationMirror does not or cannot supply a rank.
rank(Bean) - Method in class org.microbean.bean.Beans
Returns the result of invoking the Beans.rank(Id) method with the supplied Bean's Id.
rank(Id) - Method in class org.microbean.bean.Beans
Returns the result of invoking the Beans.rank(Collection) method with the supplied Id'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 supplied Bean.
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, determinate References capable of locating contextual references compatible with the supplied Annotated<? extends AnnotatedConstruct>.
References<R> - Interface in org.microbean.bean
ReferencesSelector - Interface in org.microbean.bean
A supplier of References objects.
ResolutionException - Exception Class in org.microbean.bean
A BeanException concerning 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 singleton record component.
singleton() - Method in interface org.microbean.bean.Factory
Returns the sole contextual instance of this Factory's type, if there is one, or null in 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 negative int if 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 true if and only if the supplied payload argument matches the supplied receiver argument, 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 Id to see if it matches the supplied Annotated<? extends AnnotatedConstruct> and returns the result.
toSelectionCache() - Method in class org.microbean.bean.model.Model
Returns a non-null BiFunction that 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 String reprsentation of this ResolutionException.
types() - Method in class org.microbean.bean.Id
Returns a non-null determinate BeanTypeList describing this Id.
typesafeFilteringSelectable(Collection, Matcher) - Method in class org.microbean.bean.Beans
Normalizes the supplied Collection of Beans and returns a Selectable suitable for it and the supplied Matcher, using the Selectables.filtering(Collection, BiPredicate) method internally.

U

unsatisfied() - Method in class org.microbean.bean.model.Model.DependencyResolution
Returns true if and only if the return value of an invocation of the Model.DependencyResolution.beans() method is empty.
unsatisfiedDependencyResolutions() - Method in class org.microbean.bean.model.Model
Returns a non-null, immutable, determinate Set of all Model.DependencyResolutions managed by this Model that are unsatisfied.
UnsatisfiedResolutionException - Exception Class in org.microbean.bean
A ResolutionException indicating 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

V

valid() - Method in class org.microbean.bean.model.Model
Returns true if and only if this Model is valid.
A B C D E F G H I L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|External Specifications|Serialized Form