Package org.apache.jackrabbit.rmi.remote

Examples of org.apache.jackrabbit.rmi.remote.SerializableXid


        return exception;
    }

    public void commit(Xid xid, boolean onePhase) throws XAException {
        try {
            remote.commit(new SerializableXid(xid), onePhase);
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here


        }
    }

    public void end(Xid xid, int flags) throws XAException {
        try {
            remote.end(new SerializableXid(xid), flags);
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

        }
    }

    public void forget(Xid xid) throws XAException {
        try {
            remote.forget(new SerializableXid(xid));
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

        }
    }

    public int prepare(Xid xid) throws XAException {
        try {
            return remote.prepare(new SerializableXid(xid));
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

        }
    }

    public void rollback(Xid xid) throws XAException {
        try {
            remote.rollback(new SerializableXid(xid));
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

        }
    }

    public void start(Xid xid, int flags) throws XAException {
        try {
            remote.start(new SerializableXid(xid), flags);
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

    public Xid[] recover(int flag) throws XAException {
        try {
            Xid[] xids = resource.recover(flag);
            for (int i = 0; i < xids.length; i++) {
                xids[i] = new SerializableXid(xids[i]);
            }
            return xids;
        } catch (XAException e) {
            throw getXAException(e);
        }
View Full Code Here

    public Xid[] recover(int flag) throws XAException {
        try {
            Xid[] xids = resource.recover(flag);
            for (int i = 0; i < xids.length; i++) {
                xids[i] = new SerializableXid(xids[i]);
            }
            return xids;
        } catch (XAException e) {
            throw getXAException(e);
        }
View Full Code Here

        return exception;
    }

    public void commit(Xid xid, boolean onePhase) throws XAException {
        try {
            remote.commit(new SerializableXid(xid), onePhase);
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

        }
    }

    public void end(Xid xid, int flags) throws XAException {
        try {
            remote.end(new SerializableXid(xid), flags);
        } catch (RemoteException e) {
            throw getXAException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.rmi.remote.SerializableXid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.