Package jakarta.enterprise.inject.spi.el
Interface ELAwareBeanManager
- All Superinterfaces:
BeanContainer
,BeanManager
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 TypeMethodDescriptionjakarta.el.ELResolver
Returns aELResolver
that resolves beans by EL name.jakarta.el.ExpressionFactory
wrapExpressionFactory
(jakarta.el.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
jakarta.el.ELResolver getELResolver()Returns aELResolver
that resolves beans by EL name.- Specified by:
getELResolver
in interfaceBeanManager
- Returns:
- the
ELResolver
-
wrapExpressionFactory
jakarta.el.ExpressionFactory wrapExpressionFactory(jakarta.el.ExpressionFactory expressionFactory) 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
-