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 classThe 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 intstatic booleanisValidPlatform(PlatformFileContext context) protected StringSearches for the given target directory starting in the "plugins" subdirectory of the given location.protected voidvoidshutdown()voidstartup(PlatformConfig config)
-
Constructor Details
-
OSGILauncher
public OSGILauncher()
-
-
Method Details
-
startup
- Specified by:
startupin classPlatformLauncher- Throws:
FrameworkException
-
getFrameworkContextClassLoader
-
shutdown
public void shutdown()- Specified by:
shutdownin 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
-