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 record class org.microbean.bean.Bean
Deprecated, for removal: This API element is subject to removal in a future version.
alternate() - Method in record class org.microbean.bean.Id
Returns the value of the alternate record component.
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.
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 alternate status and rank.
ambiguous() - Method in record class org.microbean.bean.model.Model.DependencyResolution
 
ambiguousDependencyResolutions() - Method in class org.microbean.bean.model.Model
 
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
anyAndDefaultQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns an unmodifiable List consisting solely of the unattributed any qualifier and the default qualifier.
anyQualifier() - Method in class org.microbean.bean.Qualifiers
Returns the unattributed any qualifier.
anyQualifier(Attributes) - Method in class org.microbean.bean.Qualifiers
Returns true if and only if the supplied Attributes is equal to the unattributed any qualifier.
anyQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns an immutable List consisting solely of the unattributed any qualifier.
assign(Function) - Method in record class org.microbean.bean.Bean
 
attributedElement() - Method in record class org.microbean.bean.model.Model.DependencyResolution
Returns the value of the attributedElement record component.
attributedType() - Method in record class org.microbean.bean.model.Model.DependencyResolution
 
attributes() - Method in record class org.microbean.bean.Id
Returns the value of the attributes record component.

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) - Constructor for class org.microbean.bean.BeanQualifiersMatcher
Creates a new BeanQualifiersMatcher.
beans() - Method in record class org.microbean.bean.model.Model.DependencyResolution
Returns the value of the beans record component.
Beans - Class in org.microbean.bean
Utility methods for working with 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 BeanTypeList of legal bean types that the supplied Collection of TypeMirrors contains.
beanTypes(TypeMirror) - Method in class org.microbean.bean.BeanTypes
Returns a BeanTypeList of legal bean types that the supplied TypeMirror bears.
beanTypes(Domain, Collection) - Static method in class org.microbean.bean.BeanTypes
Deprecated.
This method is for internal use only.
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

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 default qualifier.
defaultQualifier(Attributes) - Method in class org.microbean.bean.Qualifiers
Returns true if and only if the supplied Attributes is equal to the default qualifier.
defaultQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns an immutable List consisting solely of the default qualifier.
dependencies() - Method in record class org.microbean.bean.Bean
 
DependencyResolution(AttributedElement, List) - Constructor for record class org.microbean.bean.model.Model.DependencyResolution
Creates an instance of a DependencyResolution record class.
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 record class org.microbean.bean.Id
 
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 Domain that can be used to produce TypeMirrors so that AttributedType instances used by the ReferencesSelector.references(AttributedType) and ReferencesSelector.reference(AttributedType) methods may be created.

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 record class org.microbean.bean.Id
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.microbean.bean.model.Model.DependencyResolution
Indicates whether some other object is "equal to" this one.
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 record class org.microbean.bean.Id
Returns a hash code value for this object.
hashCode() - Method in record class org.microbean.bean.model.Model.DependencyResolution
Returns a hash code value for this object.
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 Id of the Bean whose Factory's Factory.create(Creation) invocation was responsible for the existence of this Creation.
Id - Record Class in org.microbean.bean
An identifier for a Bean.
Id(BeanTypeList, List) - Constructor for record class org.microbean.bean.Id
Creates a new Id that is not an alternate and that therefore has a default rank.
Id(BeanTypeList, List, boolean, int) - Constructor for record 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 AttributedType.
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 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
 
Model.DependencyResolution - Record Class in org.microbean.bean.model
 

N

normalize(Collection) - Static method in class org.microbean.bean.Beans
Returns an immutable List containing a subset of distinct elements contained in the supplied Collection, sorted in a deliberately unspecified fashion.
normalize(List) - Method in class org.microbean.bean.Qualifiers
Returns an immutable List of Attributess that is equal to the supplied List.
normalize(Attributes) - Method in class org.microbean.bean.Qualifiers
Returns an Attributes that is equal to the supplied Attributes.

O

of() - Static method in class org.microbean.bean.BeanTypeList
Returns a non-null BeanTypeList that is empty.
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 demand modeled by injection points.
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

primordialQualifier() - Method in class org.microbean.bean.Qualifiers
Returns the primordial qualifier.
primordialQualifier(Attributes) - Method in class org.microbean.bean.Qualifiers
Returns true if and only if the supplied Attributes is equal to the primordial qualifier.
primordialQualifiers() - Method in class org.microbean.bean.Qualifiers
Returns an immutable List consisting solely of the primordial qualifier.
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(Collection) - Method in class org.microbean.bean.BeanQualifiersMatcher
Deprecated, for removal: This API element is subject to removal in a future version.
Pass a different Qualifiers to the BeanQualifiersMatcher(Qualifiers) constructor.
qualifiers(Collection) - Method in class org.microbean.bean.Qualifiers
Returns an unmodifiable List consisting only of those Attributes in the supplied Collection that are qualifiers.
Qualifiers - Class in org.microbean.bean
A Qualifiers extended to work with commonly-used any, default, and primordial qualifiers.
Qualifiers() - Constructor for class org.microbean.bean.Qualifiers
Creates a new Qualifiers.

R

rank() - Method in record class org.microbean.bean.Bean
Deprecated, for removal: This API element is subject to removal in a future version.
rank() - Method in record class org.microbean.bean.Id
Returns the value of the rank record component.
rank() - Method in interface org.microbean.bean.Ranked
Deprecated.
Returns the rank of this Ranked implementation.
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(AttributedType) - 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 of the relevant type.
reference(Bean) - Method in interface org.microbean.bean.ReferencesSelector
Returns a contextual reference of the relevant type appropriate for the supplied Bean.
references(AttributedType) - Method in interface org.microbean.bean.ReferencesSelector
Returns a References capable of locating contextual references of the relevant type.
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
Returns true if and only if either (a) the collection of qualifiers present in receiverAttributes is empty and either the collection of qualifiers present in payloadAttributes is also empty or contains the default qualifier, or (b) if the collection of qualifiers present in payloadAttributes is empty or the return value of Qualifiers.anyAndDefaultQualifiers() contains all of the qualifiers present in receiverAttributes, or (c) if the collection of qualifiers present in payloadAttributes contains all of the qualifiers present in receiverAttributes.
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(AttributedType, Id) - Method in class org.microbean.bean.IdMatcher
Tests the supplied Id to see if it matches the supplied AttributedType and returns the result.
toSelectionCache() - Method in class org.microbean.bean.model.Model
 
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 record class org.microbean.bean.Id
Returns a string representation of this record class.
toString() - Method in record class org.microbean.bean.model.Model.DependencyResolution
Returns a string representation of this record class.
toString() - Method in exception class org.microbean.bean.ResolutionException
Returns a String reprsentation of this ResolutionException.
types() - Method in record class org.microbean.bean.Id
Returns the value of the types record component.
typesafeFiltering(Collection, Matcher) - Static method in class org.microbean.bean.Selectables
Normalizes the supplied Collection of Beans and returns a Selectable suitable for it and the supplied Matcher.

U

unsatisfied() - Method in record class org.microbean.bean.model.Model.DependencyResolution
 
unsatisfiedDependencyResolutions() - Method in class org.microbean.bean.model.Model
 
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
 
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