public abstract class TILForgeLikeServiceLauncher
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HACKS |
protected org.apache.logging.log4j.Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
TILForgeLikeServiceLauncher(@Nullable java.lang.ClassLoader bootLoader,
java.lang.String loader)
The input bootLoader could be null if this is Java 8
|
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.ClassLoader |
bootLoader() |
protected static @Nullable java.lang.Object |
callMethod(@Nullable java.lang.reflect.Method m,
@Nullable java.lang.Object target,
java.lang.Object... args) |
static void |
checkHacksInit(boolean direct,
java.lang.ClassLoader loader) |
protected abstract java.lang.String |
coreLoader() |
protected static @Nullable java.lang.reflect.Method |
getMethod(java.lang.Class<?> c,
java.lang.String name,
java.lang.Class<?>... argTypes) |
static void |
init(java.lang.Class<?> caller,
java.lang.Class<?> instanceClass,
boolean serviceLoaded) |
protected abstract java.lang.Object |
initCoreAPI() |
protected void |
initCoreAPI(java.lang.Class<?> caller)
If this class is already on the BOOT layer we can initialize it directly
|
protected static boolean |
java8() |
protected void |
load(java.lang.Class<?> caller) |
protected abstract java.lang.String |
modLoading() |
protected abstract java.lang.String |
moduleName(java.lang.Class<?> c) |
protected abstract void |
moveModule(java.lang.String moduleName) |
protected static java.lang.Class<?> |
thisClass() |
protected static java.lang.ClassLoader |
thisClassLoader() |
public static final java.lang.String HACKS
protected final org.apache.logging.log4j.Logger logger
protected TILForgeLikeServiceLauncher(@Nullable
@Nullable java.lang.ClassLoader bootLoader,
java.lang.String loader)
protected static java.lang.ClassLoader bootLoader()
@Nullable
protected static @Nullable java.lang.Object callMethod(@Nullable
@Nullable java.lang.reflect.Method m,
@Nullable
@Nullable java.lang.Object target,
java.lang.Object... args)
public static void checkHacksInit(boolean direct,
java.lang.ClassLoader loader)
@Nullable
protected static @Nullable java.lang.reflect.Method getMethod(java.lang.Class<?> c,
java.lang.String name,
java.lang.Class<?>... argTypes)
public static void init(java.lang.Class<?> caller,
java.lang.Class<?> instanceClass,
boolean serviceLoaded)
protected static boolean java8()
protected static java.lang.Class<?> thisClass()
protected static java.lang.ClassLoader thisClassLoader()
protected abstract java.lang.String coreLoader()
protected final void initCoreAPI(java.lang.Class<?> caller)
protected abstract java.lang.Object initCoreAPI()
protected final void load(java.lang.Class<?> caller)
protected abstract java.lang.String modLoading()
protected abstract java.lang.String moduleName(java.lang.Class<?> c)
protected abstract void moveModule(java.lang.String moduleName)