assert securityContext != null;
this.securityContext = securityContext;
if (binaryStore == null) binaryStore = TransientBinaryStore.get();
if (namespaceRegistry == null) namespaceRegistry = new ThreadSafeNamespaceRegistry(new SimpleNamespaceRegistry());
if (threadPoolFactory == null) threadPoolFactory = new ThreadPools();
if (data == null) data = Collections.<String, String>emptyMap();
if (processId == null) processId = UUID.randomUUID().toString();
if (decoder == null) decoder = ValueFactory.DEFAULT_DECODER;
if (encoder == null) encoder = ValueFactory.DEFAULT_ENCODER;