Class OSGILauncher
java.lang.Object
org.eclipse.birt.core.framework.PlatformLauncher
org.eclipse.birt.core.framework.osgi.OSGILauncher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
The ChildFirstURLClassLoader alters regular ClassLoader delegation and will check the URLs used in its initialization for matching classes before delegating to it's parent. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
static boolean
isValidPlatform
(PlatformFileContext context) protected String
Searches for the given target directory starting in the "plugins" subdirectory of the given location.protected void
void
shutdown()
void
startup
(PlatformConfig config)
-
Constructor Details
-
OSGILauncher
public OSGILauncher()
-
-
Method Details
-
startup
- Specified by:
startup
in classPlatformLauncher
- Throws:
FrameworkException
-
getFrameworkContextClassLoader
-
shutdown
public void shutdown()- Specified by:
shutdown
in classPlatformLauncher
-
searchFor
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
-
setupSecurityPolicy
- Throws:
FrameworkException
-
isValidPlatform
-