this.sessionAttributes = sessionAttributes;
this.workspace = workspace;
// Create an execution context for this session, which should use the local namespace registry ...
NamespaceRegistry workspaceRegistry = workspaceContext.getNamespaceRegistry();
NamespaceRegistry local = new LocalNamespaceRegistry(workspaceRegistry);
this.executionContext = workspaceContext.with(local);
this.sessionRegistry = new JcrNamespaceRegistry(Behavior.JSR170_SESSION, local, workspaceRegistry, this);
this.rootPath = this.executionContext.getValueFactories().getPathFactory().createRootPath();
// Set up the graph to use for this session (which uses the session's namespace registry and context) ...