AllowPreexistingFS allow) throws Exception {
XmiSerializationSharedData deserSharedData;
deserSharedData = getController().getInProcessCache().getCacheEntryForCAS(casReferenceId)
.getDeserSharedData();
UimaSerializer uimaSerializer = SerializerCache.lookupSerializerByThreadId();
uimaSerializer.deserializeCasFromXmi(xmi, cas, deserSharedData, true, highWaterMark, allow);
}
private void deserialize(byte[] bytes, CAS cas, CacheEntry cacheEntry, TypeSystemImpl remoteTs,
AllowPreexistingFS allow) throws Exception {
ByteArrayInputStream istream = new ByteArrayInputStream(bytes);