public class BundlePackageLoader extends Object implements PackageLoader
| Constructor and Description |
|---|
BundlePackageLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected Container |
getContextContainer()
Method to get the ActionContext (or other) Container instance required for the FileManagerFactory to work.
|
List<PackageConfig> |
loadPackages(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleContext bundleContext,
ObjectFactory objectFactory,
FileManagerFactory fileManagerFactory,
Map<String,PackageConfig> pkgConfigs)
Deprecated.
|
List<PackageConfig> |
loadPackages(Container container,
org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleContext bundleContext,
ObjectFactory objectFactory,
FileManagerFactory fileManagerFactory,
Map<String,PackageConfig> pkgConfigs)
This method loads all of the package configurations for the specified Bundle and BundleContext.
|
protected void |
setContextContainer(Container contextContainer)
Method to set the ActionContext (or other) Container instance required for the FileManagerFactory to work.
|
@Deprecated public List<PackageConfig> loadPackages(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext, ObjectFactory objectFactory, FileManagerFactory fileManagerFactory, Map<String,PackageConfig> pkgConfigs) throws ConfigurationException
PackageLoaderloadPackages in interface PackageLoaderbundle - The OSGi bundle.bundleContext - The OSGi bundle BundleContext.objectFactory - The ObjectFactory to create object instances.fileManagerFactory - The FileManagerFactory to access files.pkgConfigs - The Map of PackageConfigs (by String name).ConfigurationException - When the package load operation fails due to configuration errors.public List<PackageConfig> loadPackages(Container container, org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext, ObjectFactory objectFactory, FileManagerFactory fileManagerFactory, Map<String,PackageConfig> pkgConfigs) throws ConfigurationException
PackageLoaderloadPackages in interface PackageLoadercontainer - 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.pkgConfigs - The Map of PackageConfigs (by String name).ConfigurationException - When the package load operation fails due to configuration errors.protected Container getContextContainer()
protected void setContextContainer(Container contextContainer)
contextContainer - The Container associated with this PackageLoader.Copyright © 2000–2021 Apache Software Foundation. All rights reserved.