class Jta {

    public static TransactionManager getTransactionManager() {
        synchronized (initLock) {
            if (!Jta.frozen) {
                throw new IllegalStateException("JTA configuration must be frozen before retrieving TransactionManager from this class.");
            }
        }
        return Jta.transactionManager;
    }

    private  Jta();

}