Top Fields Constructors Methods
com.sun.faces.util

public Class ELAwareBeanManagerWrapper

extends Object
implements ELAwareBeanManager
Class Inheritance
All Implemented Interfaces
jakarta.enterprise.inject.spi.el.ELAwareBeanManager, jakarta.enterprise.inject.spi.BeanManager, jakarta.enterprise.inject.spi.BeanContainer
Imports
jakarta.el.ELResolver, .ExpressionFactory, jakarta.enterprise.context.spi.Context, .Contextual, .CreationalContext, jakarta.enterprise.event.Event, jakarta.enterprise.inject.Instance, jakarta.enterprise.inject.spi.AnnotatedField, .AnnotatedMember, .AnnotatedMethod, .AnnotatedParameter, .AnnotatedType, .Bean, .BeanAttributes, .BeanManager, .Decorator, .Extension, .InjectionPoint, .InjectionTargetFactory, .InterceptionFactory, .InterceptionType, .Interceptor, .ObserverMethod, .ProducerFactory, jakarta.enterprise.inject.spi.el.ELAwareBeanManager, java.lang.annotation.Annotation, java.lang.reflect.Type, java.util.Collection, .List, .Set

Field Summary

Modifier and TypeField and Description
pack-priv BeanManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
areInterceptorBindingsEquivalent(Annotation interceptorBinding1, Annotation interceptorBinding2)

Implements jakarta.enterprise.inject.spi.BeanManager.areInterceptorBindingsEquivalent.

Determine if two interceptor bindings are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.

public boolean
areQualifiersEquivalent(Annotation qualifier1, Annotation qualifier2)

Implements jakarta.enterprise.inject.spi.BeanManager.areQualifiersEquivalent.

Determine if two qualifiers are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.

public <T> AnnotatedType<T>
createAnnotatedType(Class<T> type)

Implements jakarta.enterprise.inject.spi.BeanManager.createAnnotatedType.

Obtain an AnnotatedType that may be used to read the annotations of the given class or interface.

public <T> Bean<T>
createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)

Implements jakarta.enterprise.inject.spi.BeanManager.createBean.

Obtains a Bean for the given BeanAttributes, bean class and InjectionTarget.

public <T, X> Bean<T>
createBean(BeanAttributes<T> attributes, Class<X> beanClass, ProducerFactory<X> producerFactory)

Implements jakarta.enterprise.inject.spi.BeanManager.createBean.

Obtains a Bean for the given BeanAttributes, bean class and Producer.

public <T> BeanAttributes<T>
public BeanAttributes<?>
public <T> CreationalContext<T>
createCreationalContext(Contextual<T> contextual)

Implements jakarta.enterprise.inject.spi.BeanContainer.createCreationalContext.

Obtain an instance of a CreationalContext for the given contextual type, or for a non-contextual object.

public InjectionPoint
createInjectionPoint(AnnotatedField<?> field)

Implements jakarta.enterprise.inject.spi.BeanManager.createInjectionPoint.

Obtains a container provided implementation of InjectionPoint for the given AnnotatedField.

public InjectionPoint
createInjectionPoint(AnnotatedParameter<?> parameter)

Implements jakarta.enterprise.inject.spi.BeanManager.createInjectionPoint.

Obtains a container provided implementation of InjectionPoint for the given AnnotatedParameter.

public Instance<Object>
createInstance()

Implements jakarta.enterprise.inject.spi.BeanContainer.createInstance.

Obtains an Instance object to access to beans instances.

public <T> InterceptionFactory<T>
public Set<Bean<?>>
getBeans(Type beanType, Annotation... qualifiers)

Implements jakarta.enterprise.inject.spi.BeanContainer.getBeans.

Return the set of beans which have the given required type and qualifiers and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of typesafe resolution.

public Set<Bean<?>>
getBeans(String name)

Implements jakarta.enterprise.inject.spi.BeanContainer.getBeans.

Return the set of beans which have the given EL name and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of EL name resolution.

public Context
getContext(Class<? extends Annotation> scopeType)

Implements jakarta.enterprise.inject.spi.BeanContainer.getContext.

Obtains an active context object for the given scope .

public Collection<Context>
getContexts(Class<? extends Annotation> scopeType)

Implements jakarta.enterprise.inject.spi.BeanContainer.getContexts.

Obtains all context objects, active and inactive, for the given scope.

public ELResolver
public Event<Object>
getEvent()

Implements jakarta.enterprise.inject.spi.BeanContainer.getEvent.

Returns an instance of Event with specified type java.lang.Object and specified qualifier @Default It allows typesafe synchronous or asynchronous event firing without injection of Event built-in bean requirement.

public <T extends Extension> T
getExtension(Class<T> extensionClass)

Implements jakarta.enterprise.inject.spi.BeanManager.getExtension.

Obtains the container's instance of an Extension class declared in META-INF/services.

public Object
public <T> InjectionTargetFactory<T>
getInjectionTargetFactory(AnnotatedType<T> annotatedType)

Implements jakarta.enterprise.inject.spi.BeanManager.getInjectionTargetFactory.

An implementation of InjectionTargetFactory that provides container created InjectionTarget instances.

public Set<Annotation>
public int
getInterceptorBindingHashCode(Annotation interceptorBinding)

Implements jakarta.enterprise.inject.spi.BeanManager.getInterceptorBindingHashCode.

Determine the hash code of an interceptor binding, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.

public Bean<?>
public <X> ProducerFactory<X>
getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)

Implements jakarta.enterprise.inject.spi.BeanManager.getProducerFactory.

An implementation of ProducerFactory that provides container created Producer instances for the given field.

public <X> ProducerFactory<X>
getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)

Implements jakarta.enterprise.inject.spi.BeanManager.getProducerFactory.

An implementation of ProducerFactory that provides container created Producer instances for the given method.

public int
getQualifierHashCode(Annotation qualifier)

Implements jakarta.enterprise.inject.spi.BeanManager.getQualifierHashCode.

Determine the hash code of a qualifier, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.

public Object
getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)

Implements jakarta.enterprise.inject.spi.BeanContainer.getReference.

Obtains a contextual reference for a certain bean and a certain bean type of the bean.

public Set<Annotation>
getStereotypeDefinition(Class<? extends Annotation> stereotype)

Implements jakarta.enterprise.inject.spi.BeanManager.getStereotypeDefinition.

Obtains meta-annotations for a certain stereotype.

public boolean
isInterceptorBinding(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanContainer.isInterceptorBinding.

Test the given annotation type to determine if it is an interceptor binding type .

public boolean
isMatchingBean(Set<Type>
bean types of a bean; must not be null
beanTypes
,
Set<Annotation>
qualifiers of a bean; must not be null
beanQualifiers
,
Type
required type of an injection point; must not be null
requiredType
,
Set<Annotation>
required qualifiers of an injection point; must not be null
requiredQualifiers
)

Implements jakarta.enterprise.inject.spi.BeanContainer.isMatchingBean.

Returns true if a bean with given bean types and qualifiers would be assignable to an injection point with given required type and required qualifiers, false otherwise.

public boolean
isMatchingEvent(Type
specified type of an event; must not be null
specifiedType
,
Set<Annotation>
specified qualifiers of an event; must not be null
specifiedQualifiers
,
Type
observed event type of an observer method; must not be null
observedEventType
,
Set<Annotation>
observed event qualifiers on an observer method; must not be null
observedEventQualifiers
)

Implements jakarta.enterprise.inject.spi.BeanContainer.isMatchingEvent.

Returns true if an event with given specified type and specified qualifiers would match an observer method with given observed event type and observed event qualifiers, false otherwise.

public boolean
isNormalScope(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanContainer.isNormalScope.

Test the given annotation type to determine if it is a normal scope type.

public boolean
isPassivatingScope(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanManager.isPassivatingScope.

Test the given annotation type to determine if it is a passivating scope type.

public boolean
isQualifier(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanContainer.isQualifier.

Test the given annotation type to determine if it is a qualifier type.

public boolean
isScope(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanContainer.isScope.

Test the given annotation type to determine if it is a scope type.

public boolean
isStereotype(Class<? extends Annotation> annotationType)

Implements jakarta.enterprise.inject.spi.BeanContainer.isStereotype.

Test the given annotation type to determine if it is a stereotype.

public <X> Bean<? extends X>
resolve(Set<Bean<? extends X>> beans)

Implements jakarta.enterprise.inject.spi.BeanContainer.resolve.

Apply the ambiguous dependency resolution rules to a set of beans.

public List<Decorator<?>>
resolveDecorators(Set<Type> types, Annotation... qualifiers)

Implements jakarta.enterprise.inject.spi.BeanManager.resolveDecorators.

Return an ordered list of decorators for a set of bean types and a set of qualifiers and which are enabled in the module or library containing the class into which the BeanManager was injected or the Java EE component from whose JNDI environment namespace the BeanManager was obtained.

public List<Interceptor<?>>
resolveInterceptors(InterceptionType type, Annotation... interceptorBindings)

Implements jakarta.enterprise.inject.spi.BeanContainer.resolveInterceptors.

Return an ordered list of enabled interceptors for a set of interceptor bindings and a type of interception and which are enabled in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained.

public <T> Set<ObserverMethod<? super T>>
resolveObserverMethods(T event, Annotation... qualifiers)

Implements jakarta.enterprise.inject.spi.BeanContainer.resolveObserverMethods.

Return an ordered set of observer methods for an event.

public void
public ExpressionFactory
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait