Class RuntimeManifoldHost

All Implemented Interfaces:
IManifoldHost, IRuntimeManifoldHost, IPluginHost, IService

public class RuntimeManifoldHost extends SingleModuleManifoldHost implements IRuntimeManifoldHost
  • Constructor Details

    • RuntimeManifoldHost

      public RuntimeManifoldHost()
  • Method Details

    • get

      public static IRuntimeManifoldHost get()
    • clear

      public static IRuntimeManifoldHost clear()
    • bootstrap

      public static void bootstrap()
    • isBootstrapped

      public boolean isBootstrapped()
      Description copied from interface: IRuntimeManifoldHost
      Is Manifold bootstrapped?
      Specified by:
      isBootstrapped in interface IRuntimeManifoldHost
    • bootstrap

      public void bootstrap(List<File> sourcepath, List<File> classpath)
      Description copied from interface: IRuntimeManifoldHost
      Bootstrap Manifold before application code executes
      Specified by:
      bootstrap in interface IRuntimeManifoldHost
    • init

      public void init(List<File> sourcepath, List<File> classpath)
      Initialize host and its type manifolds. Includes classpath from the host's classloader in addition to provided classpath.
      Parameters:
      sourcepath - List of paths containing sources/resources
      classpath - List of paths comprising the classpath
      See Also:
    • initDirectly

      protected void initDirectly(List<File> sourcepath, List<File> classpath)
      Initialize the host and its type loaders using specified sourcepath and classpath.
      Parameters:
      sourcepath - List of paths containing sources/resources
      classpath - List of paths comprising the classpath
    • createDefaultClassPath

      protected List<IDirectory> createDefaultClassPath()