Class AtreusStandaloneApiProvider
java.lang.Object
id.luckynetwork.dev.lyrams.atreus.api.AtreusStandaloneApiProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinitializeStandalone(String jarFile, String initializerName) It calls the initializeStandalone function inside AtreusStandaloneClient.class, then gets the instance of AtreusStandaloneClient and sets it to the global reference
-
Constructor Details
-
AtreusStandaloneApiProvider
public AtreusStandaloneApiProvider()
-
-
Method Details
-
initializeStandalone
public static void initializeStandalone(String jarFile, String initializerName) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException It calls the initializeStandalone function inside AtreusStandaloneClient.class, then gets the instance of AtreusStandaloneClient and sets it to the global reference- Parameters:
initializerName- The name of the initializer class.- Throws:
ClassNotFoundExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalAccessExceptionInstantiationException
-