Lines Matching +defs:env +defs:close
35 private Environment env;
55 env = new Environment(new File(homeDirectory), envConfig);
67 Database catalogDb = env.openDatabase(null, CLASS_CATALOG, null,
74 partDb = env.openDatabase(null, PART_STORE, null, dbConfig);
76 supplierDb = env.openDatabase(null, SUPPLIER_STORE, null, dbConfig);
78 shipmentDb = env.openDatabase(null, SHIPMENT_STORE, null, dbConfig);
86 return env;
124 public void close()
127 partDb.close();
128 supplierDb.close();
129 shipmentDb.close();
130 // And don't forget to close the catalog and the environment.
131 javaCatalog.close();
132 env.close();