Examples of CoreConfigurationListener


Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

    // Register framework metadata in repository
    boolean autoUpgrade = SqoopConfiguration.getInstance().getContext().getBoolean(
        ConfigurationConstants.FRAMEWORK_AUTO_UPGRADE, DEFAULT_AUTO_UPGRADE);
    mFramework = RepositoryManager.getInstance().getRepository().registerFramework(mFramework, autoUpgrade);

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    LOG.info("Submission manager initialized: OK");
  }
View Full Code Here

Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

    updateThread = new UpdateThread();
    updateThread.start();

    SqoopConfiguration.getInstance().getProvider()
      .registerListener(new CoreConfigurationListener(this));

    LOG.info("Submission manager initialized: OK");
  }
View Full Code Here

Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

    if(!provider.getRepository().haveSuitableInternals()) {
      throw new SqoopException(RepositoryError.REPO_0002);
    }

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    LOG.info("Repository initialized: OK");
  }
View Full Code Here

Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

  public synchronized void initialize() {
    LOG.info("Begin audit logger manager initialization");
    initializeLoggers();

    SqoopConfiguration.getInstance().getProvider()
        .registerListener(new CoreConfigurationListener(this));

    LOG.info("Audit logger manager initialized: OK");
  }
View Full Code Here

Examples of org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener

    boolean autoUpgrade = SqoopConfiguration.getInstance().getContext().getBoolean(
        ConfigurationConstants.CONNECTOR_AUTO_UPGRADE, DEFAULT_AUTO_UPGRADE);
    registerConnectors(autoUpgrade);

    SqoopConfiguration.getInstance().getProvider().registerListener(new CoreConfigurationListener(this));

    if (LOG.isInfoEnabled()) {
      LOG.info("Connectors loaded: " + handlerMap);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.