io.quarkus.narayana.jta.runtime.graal.PropertiesFactorySubstitution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-narayana-jta Show documentation
Show all versions of quarkus-narayana-jta Show documentation
Offer JTA transaction support (included in Hibernate ORM)
package io.quarkus.narayana.jta.runtime.graal;
import java.util.Properties;
import com.arjuna.common.util.propertyservice.PropertiesFactory;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;
import io.quarkus.narayana.jta.runtime.NarayanaJtaRecorder;
@TargetClass(PropertiesFactory.class)
final class PropertiesFactorySubstitution {
@Substitute
public static Properties getDefaultProperties() {
return NarayanaJtaRecorder.getDefaultProperties();
}
}