Skip to content

003 It's all about Context

Davi Alves edited this page Apr 22, 2015 · 3 revisions

Context

The ExecutionContext is a ConcurrentHashMap object used to hold the state between the execution of a catalog.

While the Catalog holds the logical configuration of one or more chains altogether, the ExecutionContext (or just context from now on) is the object that mutates upon on a execution of a Command. It also serve as a base entity for the RevisionGenerator to keep track of the changes made by Commands on it's execution.

You are free to create and add more properties to the basic implementation to serve your needs (as we do it here at Bemobi).

Clone this wiki locally