public Object execute(PrevaylerCallback callback) {
logger.debug("Executing callback into Prevayler.");
try {
Prevayler prevayler = this.configuration.getPrevaylerInstance();
return prevayler.execute(new TransactionCommand(callback));
} catch (Exception ex) {
throw new PrevaylerTransactionException("Error while executing callback.", ex);
}
}