public class OSGILauncher extends PlatformLauncher
Modifier and Type | Class and Description |
---|---|
protected static class |
OSGILauncher.ChildFirstURLClassLoader
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 and Description |
---|
OSGILauncher() |
Modifier and Type | Method and Description |
---|---|
protected int |
findMax(java.lang.String[] candidates) |
java.lang.ClassLoader |
getFrameworkContextClassLoader() |
static boolean |
isValidPlatform(PlatformFileContext context) |
protected java.lang.String |
searchFor(java.lang.String target,
java.lang.String start)
Searches for the given target directory starting in the "plugins"
subdirectory of the given location.
|
protected void |
setupSecurityPolicy() |
void |
shutdown() |
void |
startup(PlatformConfig config) |
public void startup(PlatformConfig config) throws FrameworkException
startup
in class PlatformLauncher
FrameworkException
public java.lang.ClassLoader getFrameworkContextClassLoader()
public void shutdown()
shutdown
in class PlatformLauncher
protected java.lang.String searchFor(java.lang.String target, java.lang.String start)
target
- start
- the location to begin searchingprotected int findMax(java.lang.String[] candidates)
protected void setupSecurityPolicy() throws FrameworkException
FrameworkException
public static boolean isValidPlatform(PlatformFileContext context)
Copyright © 2014 OpenText Corp. All rights reserved.