Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.jbossts.xts.recovery.participant.ba;
 
 
A recovery module which recovers durable participants registered by subordinate coordinators
            // throw an exception because we don't expect these participants to use serialization
            throw new Exception("XTSBASubordinateRecoveryModule : invalid request to deserialize() subordinate WS-BA coordinator participant completion participant " + id);
        }
        return null;
    }
            // throw an exception because we don't expect participant completion participants at present
            throw new Exception("XTSBASubordinateRecoveryModule : invalid request to deserialize() subordinate WS-BA coordinator participant completion participant " + id);
        }
        return null;
    }
            // throw an exception because we don't expect these participants to use serialization
            throw new Exception("XTSBASubordinateRecoveryModule : invalid request to deserialize() subordinate WS-BA coordinator coordinator completion participant " + id);
        }
        return null;
    }
            if (!id.endsWith("_CCP")) {
                // throw an exception because we don't expect participant completion participants at present
                throw new Exception("XTSBASubordinateRecoveryModule : invalid name for subordinate WS-BA coordinator coordinator completion participant participant " + id);
            }
            // ok, try to recreate the participant
            InputObjectState ios = new InputObjectState();
            ios.setBuffer(recoveryState);
            String className = ios.unpackString();
            Class participantClass =  this.getClass().getClassLoader().loadClass(className);
            ((PersistableParticipant)participant).restoreState(ios);
            return participant;
        }
        return null;
    }

    
we don't need to use this because the BA recovery manager tracks whether a recovery scan has happened
    public void endScan()
    {
        // do nothing
    }
New to GrepCode? Check out our FAQ X