listener, getEventTypes(), path, true, null, null, false);
} catch (RepositoryException e) {
throw new ReplicationTriggerException("unable to register handler " + requestHandler, e);
} finally {
if (session != null) {
session.logout();
}
}
}
public void unregister(@Nonnull ReplicationRequestHandler requestHandler) throws ReplicationTriggerException {