public class ManagedBeanResolver
extends jakarta.el.ELResolver
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.Scope> |
_scopes
Stores all scopes defined for this instance of
VariableResolver |
protected static Map<String,org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.Scope> |
STANDARD_SCOPES |
| Constructor and Description |
|---|
ManagedBeanResolver()
Creates a new instance of ManagedBeanResolver
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCommonPropertyType(jakarta.el.ELContext context,
Object base) |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(jakarta.el.ELContext context,
Object base) |
Class<?> |
getType(jakarta.el.ELContext context,
Object base,
Object property) |
Object |
getValue(jakarta.el.ELContext context,
Object base,
Object property) |
boolean |
isReadOnly(jakarta.el.ELContext context,
Object base,
Object property) |
protected RuntimeConfig |
runtimeConfig(jakarta.el.ELContext context) |
void |
setValue(jakarta.el.ELContext context,
Object base,
Object property,
Object value) |
protected static final Map<String,org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.Scope> STANDARD_SCOPES
protected final Map<String,org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.Scope> _scopes
VariableResolver
Can store instances of Scope which have the ability to dynamically resolve against ExternalContext
for put operations.
WARNING: this implementation is not serialized as it is thread safe because it does not update/add to _scopes after object initialization. If you need to add your own scopes, either extend and add more in an initialization block, or add proper sychronization
public ManagedBeanResolver()
public void setValue(jakarta.el.ELContext context,
Object base,
Object property,
Object value)
throws NullPointerException,
jakarta.el.PropertyNotFoundException,
jakarta.el.PropertyNotWritableException,
jakarta.el.ELException
setValue in class jakarta.el.ELResolverNullPointerExceptionjakarta.el.PropertyNotFoundExceptionjakarta.el.PropertyNotWritableExceptionjakarta.el.ELExceptionpublic boolean isReadOnly(jakarta.el.ELContext context,
Object base,
Object property)
throws NullPointerException,
jakarta.el.PropertyNotFoundException,
jakarta.el.ELException
isReadOnly in class jakarta.el.ELResolverNullPointerExceptionjakarta.el.PropertyNotFoundExceptionjakarta.el.ELExceptionpublic Object getValue(jakarta.el.ELContext context, Object base, Object property) throws NullPointerException, jakarta.el.PropertyNotFoundException, jakarta.el.ELException
getValue in class jakarta.el.ELResolverNullPointerExceptionjakarta.el.PropertyNotFoundExceptionjakarta.el.ELExceptionpublic Class<?> getType(jakarta.el.ELContext context, Object base, Object property) throws NullPointerException, jakarta.el.PropertyNotFoundException, jakarta.el.ELException
getType in class jakarta.el.ELResolverNullPointerExceptionjakarta.el.PropertyNotFoundExceptionjakarta.el.ELExceptionpublic Iterator<FeatureDescriptor> getFeatureDescriptors(jakarta.el.ELContext context, Object base)
getFeatureDescriptors in class jakarta.el.ELResolverprotected RuntimeConfig runtimeConfig(jakarta.el.ELContext context)
Copyright © 2022 The Apache Software Foundation. All rights reserved.