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 static java.lang.StringEXECUTION_KEYstatic java.lang.StringLOGGED_IN_USER_KEYstatic java.lang.StringTASK_KEYprotected VariableScopevariableScope
-
Constructor Summary
Constructors Constructor Description VariableScopeElResolver(VariableScope variableScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getCommonPropertyType(javax.el.ELContext arg0, java.lang.Object arg1)java.util.Iterator<java.beans.FeatureDescriptor>getFeatureDescriptors(javax.el.ELContext arg0, java.lang.Object arg1)java.lang.Class<?>getType(javax.el.ELContext arg0, java.lang.Object arg1, java.lang.Object arg2)java.lang.ObjectgetValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)booleanisReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)voidsetValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
-
-
-
Field Detail
-
EXECUTION_KEY
public static final java.lang.String EXECUTION_KEY
- See Also:
- Constant Field Values
-
TASK_KEY
public static final java.lang.String TASK_KEY
- See Also:
- Constant Field Values
-
LOGGED_IN_USER_KEY
public static final java.lang.String LOGGED_IN_USER_KEY
- See Also:
- Constant Field Values
-
variableScope
protected VariableScope variableScope
-
-
Constructor Detail
-
VariableScopeElResolver
public VariableScopeElResolver(VariableScope variableScope)
-
-
Method Detail
-
getValue
public java.lang.Object getValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)- Specified by:
getValuein classjavax.el.ELResolver
-
isReadOnly
public boolean isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)- Specified by:
isReadOnlyin classjavax.el.ELResolver
-
setValue
public void setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)- Specified by:
setValuein classjavax.el.ELResolver
-
getCommonPropertyType
public java.lang.Class<?> getCommonPropertyType(javax.el.ELContext arg0, java.lang.Object arg1)- Specified by:
getCommonPropertyTypein classjavax.el.ELResolver
-
getFeatureDescriptors
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext arg0, java.lang.Object arg1)- Specified by:
getFeatureDescriptorsin classjavax.el.ELResolver
-
getType
public java.lang.Class<?> getType(javax.el.ELContext arg0, java.lang.Object arg1, java.lang.Object arg2)- Specified by:
getTypein classjavax.el.ELResolver
-
-