Package dev.voidframework.core
Class VoidApplication
java.lang.Object
dev.voidframework.core.VoidApplication
Application launcher are expected to instantiate and run all parts of an
application based on Void Framework, wiring everything together.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetInstance(Class<T> classType) Get instance of a specific bind class.voidlaunch()Launch Void Framework.
-
Constructor Details
-
VoidApplication
public VoidApplication()Build a new instance.
-
-
Method Details
-
launch
public void launch()Launch Void Framework. -
getInstance
Get instance of a specific bind class.- Type Parameters:
T- Type of the class- Parameters:
classType- The class type- Returns:
- The class instance
-