public class Osgis
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Osgis.BundleFinder |
| Constructor and Description |
|---|
Osgis() |
| Modifier and Type | Method and Description |
|---|---|
static Osgis.BundleFinder |
bundleFinder(org.osgi.framework.launch.Framework framework) |
static <any> |
getBundleOf(java.lang.Class<?> clazz) |
static org.osgi.framework.launch.Framework |
getFramework(java.lang.String felixCacheDir,
boolean clean)
Provides an OSGI framework.
|
static org.osgi.framework.Bundle |
install(org.osgi.framework.launch.Framework framework,
java.lang.String url)
Installs a bundle from the given URL, doing a check if already installed, and
using the
ResourceUtils loader for this project (brooklyn core) |
static void |
ungetFramework(org.osgi.framework.launch.Framework framework)
Stops/ungets the OSGi framework.
|
public static Osgis.BundleFinder bundleFinder(org.osgi.framework.launch.Framework framework)
public static org.osgi.framework.launch.Framework getFramework(java.lang.String felixCacheDir,
boolean clean)
felixCacheDir - clean - public static void ungetFramework(org.osgi.framework.launch.Framework framework)
getFramework(java.lang.String, boolean)framework - public static org.osgi.framework.Bundle install(org.osgi.framework.launch.Framework framework,
java.lang.String url)
throws org.osgi.framework.BundleException
ResourceUtils loader for this project (brooklyn core)org.osgi.framework.BundleExceptionpublic static <any> getBundleOf(java.lang.Class<?> clazz)