protected TransactionIntegration getTransactionIntegration() {
if (! WildFlySecurityManager.isChecking()) {
currentThread().setContextClassLoader(TransactionIntegration.class.getClassLoader());
} else {
doPrivileged(new SetContextClassLoaderFromClassAction(TransactionIntegration.class));
}
try {
return transactionIntegrationValue.getValue();
} finally {
doPrivileged(ClearContextClassLoaderAction.getInstance());