Map contexts = this.getSessionContexts();
if (this.existsContext(name) == true) {
context = this.getContext(name);
} else {
context = new SimpleSessionContext();
Resource loadResource = (loadURI == null) ? null : new Resource(this.resolver, loadURI);
Resource saveResource = (saveURI == null) ? null : new Resource(this.resolver, saveURI);
context.setup(name, loadResource, saveResource);
contexts.put(name, context);
this.getSessionContextsTransactionStates().put(context, new TransactionState());