196197198199200201202203204205206
System.out.println("Process instance completed"); runtimeManager.disposeRuntimeEngine(runtimeEngine); runtimeManager.close(); server.shutdown(); } public static Server startH2Server() { try { // start h2 in memory database
93949596979899100101
public void contextDestroyed(final ServletContextEvent sce) { ServletContext context = sce.getServletContext(); Server h2TestDb = (Server) context.getAttribute(H2_TESTDB); if (h2TestDb != null) { h2TestDb.shutdown(); } } }
202203204205206207208209210211212
99100101102103104105106107
ds = factory.createDataStore(params); ds.getTypeNames(); } finally { server.shutdown(); } } }
200201202203204205206207208209210
9293949596979899100
public void contextDestroyed(final ServletContextEvent sce) { final ServletContext context = sce.getServletContext(); final Server h2TestDb = (Server) context.getAttribute(H2_TESTDB); if (h2TestDb != null) { h2TestDb.shutdown(); } } }
191192193194195196197198199200201
// System.out.println("Process instance completed"); runtimeManager.disposeRuntimeEngine(runtimeEngine); runtimeManager.close(); server.shutdown(); } public static Server startH2Server() { try { // start h2 in memory database