class Jta {

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

    private  Jta();

}