class RenameOperationExecutor implements
        CompensatingTransactionOperationExecutor {

    public void rollback() {
        log.debug("Rolling back rename operation");
        try {
            ldapOperations.rename(newDn, originalDn);
        } catch (Exception e) {
            log.warn("Unable to rollback rename operation. " + "originalDn: "
                    + newDn + "; newDn: " + originalDn);
        }
    }

    public  RenameOperationExecutor(LdapOperations ldapOperations,
            Name originalDn, Name newDn);

}