while (object instanceof PrepareCommand)
{
PrepareCommand command = (PrepareCommand)object;
if (! txLog.hasPendingPrepare(command))
{
InvocationContext ctx = container.get();
ctx.setOriginLocal(false);
ctx.getOptionOverrides().setCacheModeLocal(true);
ctx.getOptionOverrides().setSkipCacheStatusCheck(true);
chain.invoke(ctx, command);
}
object = cache.getMarshaller().objectFromObjectStream(ois);
}
verifyMarker(object);