FileInputStream in = new FileInputStream(file);
return (T)SerializationUtils.deserialize(in, muleContext);
}
catch (SerializationException se)
{
throw new ObjectStoreException(se);
}
catch (FileNotFoundException fnfe)
{
throw new ObjectStoreException(fnfe);
}
}