TypeDefinitionCache typeDefCache = (TypeDefinitionCache) session
.get(CmisBindingsHelper.TYPE_DEFINTION_CACHE);
typeDefCache.remove(repositoryId);
CmisSpi spi = CmisBindingsHelper.getSPI(session);
spi.clearRepositoryCache(repositoryId);
} finally {
session.writeUnlock();
}
}