new URL( uri ).openStream(), i.e. new URL(classloader.getResource().toString()).openStream() has to work for
those classloaders. felix, knoplerfish and equinox OSGi framework do work.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | OSGiIsolatedScriptingContainer(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | addBundleToGemPath(Bundle bundle)
Deprecated
add the classloader from the given bundle to the GEM_PATH |
| public void | addBundleToGemPath(String symbolicName)
Deprecated
add the classloader from the given bundle to the GEM_PATH using the bundle symbolic name |
| public void | addBundleToLoadPath(Bundle bundle)
Deprecated
add the classloader from the given bundle to the LOAD_PATH |
| public void | addBundleToLoadPath(String symbolicName)
Deprecated
add the classloader from the given bundle to the LOAD_PATH using the bundle symbolic name |
| private String | |
| private Bundle |
| OSGiIsolatedScriptingContainer | back to summary |
|---|---|
| public OSGiIsolatedScriptingContainer() | |
| OSGiIsolatedScriptingContainer | back to summary |
|---|---|
| public OSGiIsolatedScriptingContainer(LocalContextScope scope, LocalVariableBehavior behavior) | |
| OSGiIsolatedScriptingContainer | back to summary |
|---|---|
| public OSGiIsolatedScriptingContainer(LocalContextScope scope) | |
| OSGiIsolatedScriptingContainer | back to summary |
|---|---|
| public OSGiIsolatedScriptingContainer(LocalVariableBehavior behavior) | |
| OSGiIsolatedScriptingContainer | back to summary |
|---|---|
| public OSGiIsolatedScriptingContainer(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) | |
| addBundle | back to summary |
|---|---|
| public void addBundle(String symbolicName) add the classloader from the given bundle to the LOAD_PATH and the GEM_PATH using the bundle symbolic name | |
| addBundle | back to summary |
|---|---|
| public void addBundle(Bundle bundle) add the classloader from the given bundle to the LOAD_PATH and the GEM_PATH | |
| addBundleToGemPath | back to summary |
|---|---|
| public void addBundleToGemPath(Bundle bundle)
Deprecated
add the classloader from the given bundle to the GEM_PATH
| |
| addBundleToGemPath | back to summary |
|---|---|
| public void addBundleToGemPath(String symbolicName)
Deprecated
add the classloader from the given bundle to the GEM_PATH using the bundle symbolic name
| |
| addBundleToLoadPath | back to summary |
|---|---|
| public void addBundleToLoadPath(Bundle bundle)
Deprecated
add the classloader from the given bundle to the LOAD_PATH
| |
| addBundleToLoadPath | back to summary |
|---|---|
| public void addBundleToLoadPath(String symbolicName)
Deprecated
add the classloader from the given bundle to the LOAD_PATH using the bundle symbolic name
| |
| createUri | back to summary |
|---|---|
| private String createUri(Bundle cl, String ref)
Deprecated
| |
| toBundle | back to summary |
|---|---|
| private Bundle toBundle(String symbolicName) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ClassLoader | |
| public URL | |
| public Enumeration | |
| public Class |
| bundle | back to summary |
|---|---|
| private final Bundle bundle | |
| BundleGetResources | back to summary |
|---|---|
| pack-priv BundleGetResources(Bundle bundle) | |
| getClassLoader | back to summary |
|---|---|
| public ClassLoader getClassLoader() Implements org.
| |
| getResource | back to summary |
|---|---|
| public URL getResource(String path) Implements org.
| |
| getResources | back to summary |
|---|---|
| public Enumeration Implements org.
| |
| loadClass | back to summary |
|---|---|
| public Class Implements org.
| |