Package org.camunda.bpm.engine.spring
Class SpringExpressionManager
java.lang.Object
org.camunda.bpm.engine.impl.el.JuelExpressionManager
org.camunda.bpm.engine.spring.SpringExpressionManager
- All Implemented Interfaces:
ElProviderCompatible
,ExpressionManager
ExpressionManager
that exposes the full application-context or a limited set
of beans in expressions.- Author:
- Tom Baeyens
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class org.camunda.bpm.engine.impl.el.JuelExpressionManager
beans, elProvider, elResolver, expressionFactory, functionMapper, functions, initialized, parsingElContext
-
Constructor Summary
ConstructorDescriptionSpringExpressionManager
(org.springframework.context.ApplicationContext applicationContext) SpringExpressionManager
(org.springframework.context.ApplicationContext applicationContext, Map<Object, Object> beans) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.camunda.bpm.impl.juel.jakarta.el.ELResolver
Methods inherited from class org.camunda.bpm.engine.impl.el.JuelExpressionManager
addFunction, createElContext, createElContext, createElProvider, createExpression, createFunctionMapper, createValueExpression, ensureInitialized, getElContext, setExpressionFactory, toElProvider
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
SpringExpressionManager
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object, Object> beans) - Parameters:
applicationContext
- the applicationContext to use. Ignored when 'beans' parameter is not null.beans
- a map of custom beans to expose. If null, all beans in the application-context will be exposed.
-
SpringExpressionManager
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext) - Parameters:
applicationContext
- the applicationContext to use.- See Also:
-
-
Method Details
-
createElResolver
protected org.camunda.bpm.impl.juel.jakarta.el.ELResolver createElResolver()- Overrides:
createElResolver
in classJuelExpressionManager
-