![JAR search and dependency download from the Maven repository](/logo.png)
org.alfresco.mock.test.MockRetryingTransactionHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alfresco-tests Show documentation
Show all versions of alfresco-tests Show documentation
This is a jar project based on mock classes to test fastly the alfresco applications
The newest version!
package org.alfresco.mock.test;
import java.io.Serializable;
import org.alfresco.repo.transaction.RetryingTransactionHelper;
public class MockRetryingTransactionHelper extends RetryingTransactionHelper implements Serializable {
@Override
public R doInTransaction(RetryingTransactionCallback cb, boolean readOnly, boolean requiresNew) {
try {
return cb.execute();
} catch (Throwable e) {
e.printStackTrace();
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy