Package org.camunda.bpm.engine.spring
Class SpringBeansResolverFactory
- java.lang.Object
-
- org.camunda.bpm.engine.spring.SpringBeansResolverFactory
-
- All Implemented Interfaces:
Resolver
,ResolverFactory
public class SpringBeansResolverFactory extends Object implements ResolverFactory, Resolver
ResolverFactory
andResolver
classes to make the beans managed by the Spring container available in scripting{@see org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration#initScripting()}
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger
LOG
protected static String
SCOPE_NOT_ACTIVE_EXCEPTION
-
Constructor Summary
Constructors Constructor Description SpringBeansResolverFactory(org.springframework.context.ApplicationContext applicationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(Object key)
Allows checking whether there is currently an object bound to the key.Resolver
createResolver(VariableScope variableScope)
Object
get(Object key)
Returns the object currently bound to the key or false if no object is currently bound to the keySet<String>
keySet()
Returns the set of key that can be resolved using this resolver.
-
-
-
Method Detail
-
createResolver
public Resolver createResolver(VariableScope variableScope)
- Specified by:
createResolver
in interfaceResolverFactory
-
containsKey
public boolean containsKey(Object key)
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
public Object get(Object key)
Description copied from interface:Resolver
Returns the object currently bound to the key or false if no object is currently bound to the key
-
-