- All Superinterfaces:
BeanContainer
,BeanManager
- All Known Implementing Classes:
ELAwareBeanManagerWrapper
A
BeanManager
that allows integrators to obtain Unified EL objects that are
integrated with the CDI container as described in the Jakarta EE Platform specification.- Since:
- 4.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns aELResolver
that resolves beans by EL name.wrapExpressionFactory
(ExpressionFactory expressionFactory) Returns a wrapperExpressionFactory
that delegatesMethodExpression
andValueExpression
creation to the givenExpressionFactory
.Methods inherited from interface jakarta.enterprise.inject.spi.BeanContainer
createCreationalContext, createInstance, getBeans, getBeans, getContext, getContexts, getEvent, getReference, isInterceptorBinding, isMatchingBean, isMatchingEvent, isNormalScope, isQualifier, isScope, isStereotype, resolve, resolveInterceptors, resolveObserverMethods
Methods inherited from interface jakarta.enterprise.inject.spi.BeanManager
areInterceptorBindingsEquivalent, areQualifiersEquivalent, createAnnotatedType, createBean, createBean, createBeanAttributes, createBeanAttributes, createInjectionPoint, createInjectionPoint, createInterceptionFactory, getExtension, getInjectableReference, getInjectionTargetFactory, getInterceptorBindingDefinition, getInterceptorBindingHashCode, getPassivationCapableBean, getProducerFactory, getProducerFactory, getQualifierHashCode, getStereotypeDefinition, isPassivatingScope, resolveDecorators, validate
-
Method Details
-
getELResolver
ELResolver getELResolver()Returns aELResolver
that resolves beans by EL name.- Specified by:
getELResolver
in interfaceBeanManager
- Returns:
- the
ELResolver
-
wrapExpressionFactory
Returns a wrapperExpressionFactory
that delegatesMethodExpression
andValueExpression
creation to the givenExpressionFactory
. When a Unified EL expression is evaluated using aMethodExpression
orValueExpression
returned by the wrapperExpressionFactory
, the container handles destruction of objects with scopeDependent
.- Specified by:
wrapExpressionFactory
in interfaceBeanManager
- Parameters:
expressionFactory
- theExpressionFactory
to wrap- Returns:
- the wrapped
ExpressionFactory
-