public final class JkInit
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T extends KBean> |
kbean(java.lang.Class<T> clazz,
java.lang.String... args)
Runs JeKA and returns a usable
JkRunbase and returns
a kbean instance of the specified class. |
static <T extends KBean> |
kbean(java.lang.Class<T> clazz,
java.lang.String[] args,
java.lang.String... extraArgs)
Similar to
kbean(Class, String...) but this the possibility
to add conveniently extra args in addition to the ones supplied
by Main method. |
static JkRunbase |
runbase(boolean skipCompile,
java.lang.String... args)
Run JeKA and returns a usable
JkRunbase from where we can
instantiate KBean programmatically. |
public static JkRunbase runbase(boolean skipCompile, java.lang.String... args)
JkRunbase
from where we can
instantiate KBean programmatically.This method is meant to bbe used inside a regular Main method.
public static <T extends KBean> T kbean(java.lang.Class<T> clazz, java.lang.String... args)
JkRunbase
and returns
a kbean instance of the specified class. The specified KBean
is configured to be the default one. This method is meant to bbe used inside a regular Main method.
public static <T extends KBean> T kbean(java.lang.Class<T> clazz, java.lang.String[] args, java.lang.String... extraArgs)
kbean(Class, String...)
but this the possibility
to add conveniently extra args in addition to the ones supplied
by Main method.