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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpringBeansResolverFactory(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(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:
createResolverin interfaceResolverFactory
-
containsKey
Description copied from interface:ResolverAllows checking whether there is currently an object bound to the key.- Specified by:
containsKeyin 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:ResolverReturns the object currently bound to the key or false if no object is currently bound to the key -
keySet
Description copied from interface:ResolverReturns the set of key that can be resolved using this resolver.
-