public interface GlobalProducer
KieSession
to be registered on time when RuntimeEngine
is created.
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getGlobals(String identifier,
Map<String,Object> params)
Returns map of (key = global name, value global instance) of globals
to be registered on KieSession
Parameters that might be given are as follows: ksession taskService runtimeManager |
Map<String,Object> getGlobals(String identifier, Map<String,Object> params)
identifier
- - identifier of the owner - usually RuntimeManager that allows the producer to filter out
and provide valid instances for given ownerparams
- - owner might provide some parameters, usually KieSession, TaskService, RuntimeManager instancesCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.