Package org.apache.openmeetings.backup

Examples of org.apache.openmeetings.backup.BackupImport


    return backup;
  }
 
  private void restoreOm(String ctxName, File backup) {
    try {
      BackupImport importCtrl = getApplicationContext(ctxName).getBean(BackupImport.class);
      importCtrl.performImport(new FileInputStream(backup));
    } catch (Exception e) {
      handleError("Restore failed", e);
    }
  }
View Full Code Here


  }
 
  private void restoreOm(String ctxName, File backup) {
    InputStream is = null;
    try {
      BackupImport importCtrl = getApplicationContext(ctxName).getBean(BackupImport.class);
      is = new FileInputStream(backup);
      importCtrl.performImport(is);
    } catch (Exception e) {
      handleError("Restore failed", e);
    } finally {
      if (is != null) {
        try {
View Full Code Here

TOP

Related Classes of org.apache.openmeetings.backup.BackupImport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.