Package org.objectweb.celtix.ws.rm.persistence

Examples of org.objectweb.celtix.ws.rm.persistence.RMStore


        }       
        return seqs;       
    }
   
    void restore() {
        RMStore store = getHandler().getStore();
       
        Collection<RMSourceSequence> dss = store.getSourceSequences(getEndpointId());
        // Don't make any of these sequences the current sequence, thus forcing
        // termination of the recovered sequences as soon as possible
        for (RMSourceSequence ds : dss) {
            addSequence((SourceSequence)ds, false);
        }
View Full Code Here


     * store.
     *
     */
    protected void populate(Collection<SourceSequence> seqs) {
        LOG.fine(seqs.size() + " active sequences");
        RMStore store = handler.getStore();
        for (SourceSequence seq : seqs) {
            Collection<RMMessage> msgs  = store.getMessages(seq.getIdentifier(), true);
            LOG.fine("Recovered " + msgs.size() + " messages for this sequence");
            for (RMMessage msg : msgs) {
                ObjectMessageContext objCtx = new ObjectMessageContextImpl();
                objCtx.putAll(msg.getContext());
                cacheUnacknowledged(objCtx);
View Full Code Here

            throw DestinationSequence.createUnknownSequenceFault(sequenceType.getIdentifier());
        }
    }
   
    void restore() {
        RMStore store = getHandler().getStore();
       
        Collection<RMDestinationSequence> dss = store.getDestinationSequences(getEndpointId());
        for (RMDestinationSequence ds : dss) {
            addSequence((DestinationSequence)ds, false);
        }
    }
View Full Code Here

TOP

Related Classes of org.objectweb.celtix.ws.rm.persistence.RMStore

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.