org.camunda.bpm.dmn.feel.impl.juel.el
Class FeelElContextFactory

java.lang.Object
  extended by org.camunda.bpm.dmn.feel.impl.juel.el.FeelElContextFactory
All Implemented Interfaces:
ElContextFactory

public class FeelElContextFactory
extends Object
implements ElContextFactory


Field Summary
protected  CustomFunctionMapper customFunctionMapper
           
static FeelEngineLogger LOG
           
 
Constructor Summary
FeelElContextFactory()
           
 
Method Summary
 void addCustomFunction(String name, Method method)
          Add a custom function which can be used by the context.
 javax.el.ELContext createContext(javax.el.ExpressionFactory expressionFactory, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
          Create a ELContext for the given ExpressionFactory and VariableContext.
 javax.el.ELResolver createElResolver()
           
 javax.el.FunctionMapper createFunctionMapper()
           
 javax.el.VariableMapper createVariableMapper(javax.el.ExpressionFactory expressionFactory, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final FeelEngineLogger LOG

customFunctionMapper

protected CustomFunctionMapper customFunctionMapper
Constructor Detail

FeelElContextFactory

public FeelElContextFactory()
Method Detail

createContext

public javax.el.ELContext createContext(javax.el.ExpressionFactory expressionFactory,
                                        org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Description copied from interface: ElContextFactory
Create a ELContext for the given ExpressionFactory and VariableContext.

Specified by:
createContext in interface ElContextFactory
Parameters:
expressionFactory - the ExpressionFactory to use
variableContext - the VariableContext to use
Returns:
the ELContext instance

createElResolver

public javax.el.ELResolver createElResolver()

createFunctionMapper

public javax.el.FunctionMapper createFunctionMapper()

createVariableMapper

public javax.el.VariableMapper createVariableMapper(javax.el.ExpressionFactory expressionFactory,
                                                    org.camunda.bpm.engine.variable.context.VariableContext variableContext)

addCustomFunction

public void addCustomFunction(String name,
                              Method method)
Description copied from interface: ElContextFactory
Add a custom function which can be used by the context.

Specified by:
addCustomFunction in interface ElContextFactory
Parameters:
name - the name of the function
method - the method reference of the function


Copyright © 2017 camunda services GmbH. All rights reserved.