Package org.nuxeo.osgi.services
Class PackageAdminImpl
java.lang.Object
org.nuxeo.osgi.services.PackageAdminImpl
- All Implemented Interfaces:
org.osgi.service.packageadmin.PackageAdmin
Dummy implementation of
PackageAdmin
service. Only PackageAdmin.getBundles(String, String)
is
implemented- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from interface org.osgi.service.packageadmin.PackageAdmin
BUNDLE_TYPE_FRAGMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.Bundle
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
(String name) org.osgi.service.packageadmin.ExportedPackage[]
getExportedPackages
(org.osgi.framework.Bundle bundle) 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)
-
Field Details
-
osgi
-
-
Constructor Details
-
PackageAdminImpl
-
-
Method Details
-
getBundles
- Specified by:
getBundles
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getExportedPackages
public org.osgi.service.packageadmin.ExportedPackage[] getExportedPackages(org.osgi.framework.Bundle bundle) - Specified by:
getExportedPackages
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getExportedPackages
- Specified by:
getExportedPackages
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getExportedPackage
- Specified by:
getExportedPackage
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
refreshPackages
public void refreshPackages(org.osgi.framework.Bundle[] bundles) - Specified by:
refreshPackages
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
resolveBundles
public boolean resolveBundles(org.osgi.framework.Bundle[] bundles) - Specified by:
resolveBundles
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getRequiredBundles
- Specified by:
getRequiredBundles
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getFragments
public org.osgi.framework.Bundle[] getFragments(org.osgi.framework.Bundle bundle) - Specified by:
getFragments
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getHosts
public org.osgi.framework.Bundle[] getHosts(org.osgi.framework.Bundle bundle) - Specified by:
getHosts
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getBundle
- Specified by:
getBundle
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-
getBundleType
public int getBundleType(org.osgi.framework.Bundle bundle) - Specified by:
getBundleType
in interfaceorg.osgi.service.packageadmin.PackageAdmin
-