* Initialize this cluster node (overridable).
*
* @throws ClusterException if an error occurs
*/
protected void init() throws ClusterException {
ClusterConfig cc = clusterContext.getClusterConfig();
clusterNodeId = getClusterNodeId(cc.getId());
syncDelay = cc.getSyncDelay();
try {
JournalConfig jc = cc.getJournalConfig();
journal = (Journal) jc.newInstance();
setRepositoryHome(journal, clusterContext.getRepositoryHome());
journal.init(clusterNodeId, clusterContext.getNamespaceResolver());
instanceRevision = journal.getInstanceRevision();
journal.register(this);