/** * Transaction manager lookup constructor. * * @param settings for the Hibernate application * @param properties for the Hibernate application */ public HibernateTransactionManagerLookup(SessionFactoryOptions settings, Properties properties) { this.jtaPlatform = settings != null ? settings.getServiceRegistry().getService(JtaPlatform.class) : null; }