10861087108810891090109110921093109410951096
log.info("Shutting down repository..."); // stop optional cluster node ClusterNode clusterNode = context.getClusterNode(); if (clusterNode != null) { clusterNode.stop(); } if (securityMgr != null) { securityMgr.close(); }
106107108109110111112113114115116
try { File revisionFile = new File(repositoryHome, FileJournal.DEFAULT_INSTANCE_FILE_NAME); assertTrue(revisionFile.exists()); } finally { clusterNode.stop(); } } /** * Verify that <code>ClusterNode.stop</code> can be invoked even when
134135136137138139140141142143144
clusterNode.init(context); fail("Bad cluster configuration."); } catch (Exception e) { } clusterNode.stop(); } /** * Verify that <code>ClusterNode.stop</code> can be invoked even when * <code>ClusterNode.init</code> throws because the journal can not
169170171172173174175176
clusterNode.init(context); fail("Bad cluster configuration."); } catch (Exception e) { } clusterNode.stop(); } }
10601061106210631064106510661067106810691070
10751076107710781079108010811082108310841085
10851086108710881089109010911092109310941095
10611062106310641065106610671068106910701071
101102103104105106107108109110111
128129130131132133134135136137138