dispatcher.setMembershipListener(this);
}
}
catch (ChannelException e)
{
throw new ReplicationException("Can't create JGroups channel", e);
}
LOG.info("Channel name : " + channelName);
try
{
channel.connect(channelName);
this.state = CONNECTED;
}
catch (ChannelException e)
{
throw new ReplicationException("Can't connect to JGroups channel", e);
}
finally
{
latch.countDown();
}