public interface PackageLoader
Modifier and Type | Method and Description |
---|---|
List<PackageConfig> |
loadPackages(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleContext bundleContext,
ObjectFactory objectFactory,
FileManagerFactory fileManagerFactory,
Map<String,PackageConfig> map)
Deprecated.
|
List<PackageConfig> |
loadPackages(Container container,
org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleContext bundleContext,
ObjectFactory objectFactory,
FileManagerFactory fileManagerFactory,
Map<String,PackageConfig> map)
This method loads all of the package configurations for the specified Bundle and BundleContext.
|
@Deprecated List<PackageConfig> loadPackages(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext, ObjectFactory objectFactory, FileManagerFactory fileManagerFactory, Map<String,PackageConfig> map) throws ConfigurationException
bundle
- The OSGi bundle.bundleContext
- The OSGi bundle BundleContext.objectFactory
- The ObjectFactory to create object instances.fileManagerFactory
- The FileManagerFactory to access files.map
- The Map of PackageConfigs (by String name).ConfigurationException
- When the package load operation fails due to configuration errors.List<PackageConfig> loadPackages(Container container, org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext, ObjectFactory objectFactory, FileManagerFactory fileManagerFactory, Map<String,PackageConfig> map) throws ConfigurationException
container
- The Container from the ActionContext (or another context).bundle
- The OSGi bundle.bundleContext
- The OSGi bundle BundleContext.objectFactory
- The ObjectFactory to create object instances.fileManagerFactory
- The FileManagerFactory to access files.map
- The Map of PackageConfigs (by String name).ConfigurationException
- When the package load operation fails due to configuration errors.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.