- 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 ValueloadConfig()static ValueloadConfig(ClassLoader classLoader)static ValueloadConfigFile()static ValueloadConfigFile(File configFile)static ValueloadConfigResource(ClassLoader classLoader)static ValueloadConfigResource(ClassLoader classLoader, String configResource)static KernelloadKernel()static KernelloadKernel(ClassLoader classLoader)static KernelloadKernelModule(ClassLoader classLoader, Value moduleConfig)static KernelloadKernelStack(ClassLoader classLoader, Value kernelConfig)static ValueparseConfigValue(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
-
-