Class OSGILauncher

java.lang.Object
org.eclipse.birt.core.framework.PlatformLauncher
org.eclipse.birt.core.framework.osgi.OSGILauncher

public class OSGILauncher extends PlatformLauncher
  • Constructor Details

    • OSGILauncher

      public OSGILauncher()
  • Method Details

    • startup

      public void startup(PlatformConfig config) throws FrameworkException
      Specified by:
      startup in class PlatformLauncher
      Throws:
      FrameworkException
    • getFrameworkContextClassLoader

      public ClassLoader getFrameworkContextClassLoader()
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in class PlatformLauncher
    • searchFor

      protected String searchFor(String target, String start)
      Searches for the given target directory starting in the "plugins" subdirectory of the given location. If one is found then this location is returned; otherwise an exception is thrown.
      Parameters:
      target -
      start - the location to begin searching
      Returns:
      the location where target directory was found
    • findMax

      protected int findMax(String[] candidates)
    • setupSecurityPolicy

      protected void setupSecurityPolicy() throws FrameworkException
      Throws:
      FrameworkException
    • isValidPlatform

      public static boolean isValidPlatform(PlatformFileContext context)