Package org.camunda.bpm.engine.spring
Class SpringBeansResolverFactory
java.lang.Object
org.camunda.bpm.engine.spring.SpringBeansResolverFactory
- All Implemented Interfaces:
Resolver
,ResolverFactory
ResolverFactory
and Resolver
classes to make the beans
managed by the Spring container available in scripting
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSpringBeansResolverFactory
(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) Allows checking whether there is currently an object bound to the key.createResolver
(VariableScope variableScope) Returns the object currently bound to the key or false if no object is currently bound to the keykeySet()
Returns the set of key that can be resolved using this resolver.
-
Field Details
-
LOG
-
SCOPE_NOT_ACTIVE_EXCEPTION
-
-
Constructor Details
-
SpringBeansResolverFactory
public SpringBeansResolverFactory(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
createResolver
- Specified by:
createResolver
in interfaceResolverFactory
-
containsKey
Description copied from interface:Resolver
Allows checking whether there is currently an object bound to the key.- Specified by:
containsKey
in interfaceResolver
- Parameters:
key
- the key to check- Returns:
- true if there is currently an object bound to the key. False otherwise.
-
get
Description copied from interface:Resolver
Returns the object currently bound to the key or false if no object is currently bound to the key -
keySet
Description copied from interface:Resolver
Returns the set of key that can be resolved using this resolver.
-