Package er.extensions.migration

Examples of er.extensions.migration.ERXMigrator$ERXMigrationAction


   *            requests.
   */
  public final void finishInitialization(NSNotification n) {
    finishInitialization();
    if (ERXMigrator.shouldMigrateAtStartup()) {
      ERXMigrator migrator = migrator();
      migrationsWillRun(migrator);
      migrator.migrateToLatest();
      migrationsDidRun(migrator);
    }
    NSNotificationCenter.defaultCenter().postNotification(new NSNotification(ERXApplication.ApplicationDidFinishInitializationNotification, this));
  }
View Full Code Here


  /**
   * Returns an ERXMigrator with the lock owner name "appname-instancenumber".
   * @return migrator for this instance
   */
  public ERXMigrator migrator() {
    return new ERXMigrator(name() + "-" + host() + ":" + port());
  }
View Full Code Here

TOP

Related Classes of er.extensions.migration.ERXMigrator$ERXMigrationAction

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.