valueFactory = new ValueFactoryImpl();
repository = new RepositoryAdaptor(globalContext.getInstance(Repository.class), valueFactory);
workspace = new WorkspaceImpl(sessionContext);
transientSpace = new TransientSpace(sessionContext.getWorkspaceName(), sessionContext.getMicrokernel());
nodeStateProvider = new NodeStateProvider(sessionContext, transientSpace);
}