public void commit()

in jta-jpa/src/main/java/org/acme/DummyXAResource.java [72:83]


    public void commit(final Xid xid, final boolean arg1) throws XAException {
        LOG.info("Committing " + DummyXAResource.class.getSimpleName());

        if (shouldCrash) {
            LOG.info("Crashing the system");
            Runtime.getRuntime().halt(1);
        }

        removeFile(file);
        this.file = null;
        this.xid = null;
    }