Class Bootstrapper

java.lang.Object
com.tenio.common.logger.AbstractLogger
com.tenio.common.logger.SystemLogger
com.tenio.core.bootstrap.Bootstrapper

public final class Bootstrapper extends com.tenio.common.logger.SystemLogger
Creation of a boostrap.
  • Method Details

    • newInstance

      public static Bootstrapper newInstance()
    • run

      public boolean run(Class<?> entryClass, String... packages) throws Exception
      Start the bootstrap.
      Parameters:
      entryClass - the root class
      packages - the scanning packages
      Returns:
      true if success, otherwise false>
      Throws:
      Exception - when any exceptions occurred
    • getBootstrapHandler

      public BootstrapHandler getBootstrapHandler()