public abstract class OsgiFrameworkUtils extends Object
Constructor and Description |
---|
OsgiFrameworkUtils() |
Modifier and Type | Method and Description |
---|---|
static Collection<org.osgi.framework.Bundle> |
getBundleDependencies(org.osgi.framework.Bundle bundle,
OsgiContainer osgiContainer) |
static Plugin.PluginState |
getPluginState(org.osgi.framework.Bundle bundle)
Zwraca odpowiedni stan wtyczki
OsgiPlugin dla podanego Bundle |
static void |
refreshBundlesSynchronously(OsgiContainer osgiContainer,
org.osgi.framework.Bundle... bundles) |
static void |
refreshBundlesSynchronously(OsgiContainer osgiContainer,
Collection<org.osgi.framework.Bundle> bundles) |
public static void refreshBundlesSynchronously(OsgiContainer osgiContainer, org.osgi.framework.Bundle... bundles)
public static void refreshBundlesSynchronously(OsgiContainer osgiContainer, Collection<org.osgi.framework.Bundle> bundles)
public static Collection<org.osgi.framework.Bundle> getBundleDependencies(org.osgi.framework.Bundle bundle, OsgiContainer osgiContainer)
public static Plugin.PluginState getPluginState(org.osgi.framework.Bundle bundle)
OsgiPlugin
dla podanego Bundle
bundle
- bundle osgi, którego stan chemy pobraćPlugin.PluginState
IllegalArgumentException
- nieznany kod statusuCopyright © 2014 Suncode. All rights reserved.