Package org.activiti.engine.impl.el
Class VariableScopeElResolver
- java.lang.Object
-
- javax.el.ELResolver
-
- org.activiti.engine.impl.el.VariableScopeElResolver
-
public class VariableScopeElResolver extends javax.el.ELResolverImplementation of anELResolverthat resolves expressions with the process variables of a givenVariableScopeas context.
Also exposes the currently logged in username to be used in expressions (if any)
-
-
Field Summary
Fields Modifier and Type Field Description protected VariableScopevariableScope
-
Constructor Summary
Constructors Constructor Description VariableScopeElResolver(VariableScope variableScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getCommonPropertyType(javax.el.ELContext arg0, Object arg1)Iterator<FeatureDescriptor>getFeatureDescriptors(javax.el.ELContext arg0, Object arg1)Class<?>getType(javax.el.ELContext arg0, Object arg1, Object arg2)ObjectgetValue(javax.el.ELContext context, Object base, Object property)protected List<VariableScopeItemELResolver>getVariableScopeItemELResolvers()booleanisReadOnly(javax.el.ELContext context, Object base, Object property)voidsetValue(javax.el.ELContext context, Object base, Object property, Object value)
-
-
-
Field Detail
-
variableScope
protected VariableScope variableScope
-
-
Constructor Detail
-
VariableScopeElResolver
public VariableScopeElResolver(VariableScope variableScope)
-
-
Method Detail
-
getValue
public Object getValue(javax.el.ELContext context, Object base, Object property)
- Specified by:
getValuein classjavax.el.ELResolver
-
getVariableScopeItemELResolvers
protected List<VariableScopeItemELResolver> getVariableScopeItemELResolvers()
-
isReadOnly
public boolean isReadOnly(javax.el.ELContext context, Object base, Object property)- Specified by:
isReadOnlyin classjavax.el.ELResolver
-
setValue
public void setValue(javax.el.ELContext context, Object base, Object property, Object value)- Specified by:
setValuein classjavax.el.ELResolver
-
getCommonPropertyType
public Class<?> getCommonPropertyType(javax.el.ELContext arg0, Object arg1)
- Specified by:
getCommonPropertyTypein classjavax.el.ELResolver
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext arg0, Object arg1)
- Specified by:
getFeatureDescriptorsin classjavax.el.ELResolver
-
-