Class VoidApplication

java.lang.Object
dev.voidframework.core.VoidApplication

public class VoidApplication extends Object
Application launcher are expected to instantiate and run all parts of an application based on Void Framework, wiring everything together.
  • Constructor Details

    • VoidApplication

      public VoidApplication()
      Build a new instance.
  • Method Details

    • launch

      public void launch()
      Launch Void Framework.
    • getInstance

      public <T> T getInstance(Class<T> classType)
      Get instance of a specific bind class.
      Type Parameters:
      T - Type of the class
      Parameters:
      classType - The class type
      Returns:
      The class instance