public GraphDatabaseShellServer( GraphDatabaseAPI graphDb, boolean readOnly ) throws RemoteException { super(); this.graphDb = readOnly ? new ReadOnlyGraphDatabaseProxy( graphDb ) : graphDb; this.bashInterpreter.addReplacer( "W", new WorkingDirReplacer() ); this.graphDbCreatedHere = false; }