This environment factory will produce environments with 2 contexts: the process-engine context and the block context.
An process-engine context is build from two wire definitions: the process-engine wire definition and the environment wire definition.
The process-engine context itself is build from the process-engine wire definition. So all objects that are created in this context remain cached for the lifetime of this process-engine context object.
This process-engine context is also a environment factory. The produced environments contain 2 contexts: the process-engine context itself and a new environment context, build from the environment wire definition. For each created environment, a new environment context will be created from the same environment wire definition. Objects in the environment context will live for as long as the environment.
@author Tom Baeyens
|
|
|
|