public class PackageAdminImpl extends Object implements org.osgi.service.packageadmin.PackageAdmin
PackageAdmin
service. Only PackageAdmin.getBundles(String, String)
is
implementedModifier and Type | Field and Description |
---|---|
protected OSGiAdapter |
osgi |
Constructor and Description |
---|
PackageAdminImpl(OSGiAdapter osgi) |
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.Bundle |
getBundle(Class clazz) |
org.osgi.framework.Bundle[] |
getBundles(String symbolicName,
String versionRange) |
int |
getBundleType(org.osgi.framework.Bundle bundle) |
org.osgi.service.packageadmin.ExportedPackage |
getExportedPackage(String name) |
org.osgi.service.packageadmin.ExportedPackage[] |
getExportedPackages(org.osgi.framework.Bundle bundle) |
org.osgi.service.packageadmin.ExportedPackage[] |
getExportedPackages(String name) |
org.osgi.framework.Bundle[] |
getFragments(org.osgi.framework.Bundle bundle) |
org.osgi.framework.Bundle[] |
getHosts(org.osgi.framework.Bundle bundle) |
org.osgi.service.packageadmin.RequiredBundle[] |
getRequiredBundles(String symbolicName) |
void |
refreshPackages(org.osgi.framework.Bundle[] bundles) |
boolean |
resolveBundles(org.osgi.framework.Bundle[] bundles) |
protected OSGiAdapter osgi
public PackageAdminImpl(OSGiAdapter osgi)
public org.osgi.framework.Bundle[] getBundles(String symbolicName, String versionRange)
getBundles
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.service.packageadmin.ExportedPackage[] getExportedPackages(org.osgi.framework.Bundle bundle)
getExportedPackages
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.service.packageadmin.ExportedPackage[] getExportedPackages(String name)
getExportedPackages
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.service.packageadmin.ExportedPackage getExportedPackage(String name)
getExportedPackage
in interface org.osgi.service.packageadmin.PackageAdmin
public void refreshPackages(org.osgi.framework.Bundle[] bundles)
refreshPackages
in interface org.osgi.service.packageadmin.PackageAdmin
public boolean resolveBundles(org.osgi.framework.Bundle[] bundles)
resolveBundles
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.service.packageadmin.RequiredBundle[] getRequiredBundles(String symbolicName)
getRequiredBundles
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.framework.Bundle[] getFragments(org.osgi.framework.Bundle bundle)
getFragments
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.framework.Bundle[] getHosts(org.osgi.framework.Bundle bundle)
getHosts
in interface org.osgi.service.packageadmin.PackageAdmin
public org.osgi.framework.Bundle getBundle(Class clazz)
getBundle
in interface org.osgi.service.packageadmin.PackageAdmin
public int getBundleType(org.osgi.framework.Bundle bundle)
getBundleType
in interface org.osgi.service.packageadmin.PackageAdmin
Copyright © 2016 Nuxeo SA. All rights reserved.