Package eu.stratosphere.api.common

Examples of eu.stratosphere.api.common.Program


    // load the entry point class
    this.mainClass = loadMainClass(entryPointClassName, userCodeClassLoader);
   
    // if the entry point is a program, instantiate the class and get the plan
    if (Program.class.isAssignableFrom(this.mainClass)) {
      Program prg = null;
      try {
        prg = InstantiationUtil.instantiate(this.mainClass.asSubclass(Program.class), Program.class);
      } catch (Exception e) {
        // validate that the class has a main method at least.
        // the main method possibly instantiates the program properly
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.common.Program

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.