public void closeMigration() {

    for (DataStoreModule module : dataStoreModules.values()) {
      module.close();
    }

    dataStoreModules.clear();
  }
Get persistence entities of the view instance.

@param viewDefinition   the view definition.
@return the mapping of entity class name to the class objects,
loaded by the classloader of view version.
ambari-server/src/main/java/org/apache/ambari/server/view/ViewDataMigrationContextImpl.java