- java.lang.Object
-
- swim.kernel.KernelLoader
-
public final class KernelLoader extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Value
loadConfig()
static Value
loadConfig(ClassLoader classLoader)
static Value
loadConfigFile()
static Value
loadConfigFile(File configFile)
static Value
loadConfigResource(ClassLoader classLoader)
static Value
loadConfigResource(ClassLoader classLoader, String configResource)
static Kernel
loadKernel()
static Kernel
loadKernel(ClassLoader classLoader)
static Kernel
loadKernelModule(ClassLoader classLoader, Value moduleConfig)
static Kernel
loadKernelStack(ClassLoader classLoader, Value kernelConfig)
static Value
parseConfigValue(InputStream configInput)
-
-
-
Method Detail
-
loadKernel
public static Kernel loadKernel()
-
loadKernel
public static Kernel loadKernel(ClassLoader classLoader)
-
loadKernelStack
public static Kernel loadKernelStack(ClassLoader classLoader, Value kernelConfig)
-
loadKernelModule
public static Kernel loadKernelModule(ClassLoader classLoader, Value moduleConfig)
-
loadConfig
public static Value loadConfig() throws IOException
- Throws:
IOException
-
loadConfig
public static Value loadConfig(ClassLoader classLoader) throws IOException
- Throws:
IOException
-
loadConfigFile
public static Value loadConfigFile() throws IOException
- Throws:
IOException
-
loadConfigFile
public static Value loadConfigFile(File configFile) throws IOException
- Throws:
IOException
-
loadConfigResource
public static Value loadConfigResource(ClassLoader classLoader) throws IOException
- Throws:
IOException
-
loadConfigResource
public static Value loadConfigResource(ClassLoader classLoader, String configResource) throws IOException
- Throws:
IOException
-
parseConfigValue
public static Value parseConfigValue(InputStream configInput) throws IOException
- Throws:
IOException
-
-