org.apache.struts2.osgi

## Class BundlePackageLoader

- java.lang.Object
- - org.apache.struts2.osgi.BundlePackageLoader

- All Implemented Interfaces:
    PackageLoader

      public class BundlePackageLoader
      extends Object
      implements PackageLoader

  Package loader implementation that loads resources from a bundle

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BundlePackageLoader()`

  - ### Method Summary

    Methods
    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> pkgConfigs)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BundlePackageLoader

          public BundlePackageLoader()

  - ### Method Detail

    - #### loadPackages

          public List<PackageConfig> loadPackages(org.osgi.framework.Bundle bundle,
                                         org.osgi.framework.BundleContext bundleContext,
                                         ObjectFactory objectFactory,
                                         FileManagerFactory fileManagerFactory,
                                         Map<String,PackageConfig> pkgConfigs)
                                           throws ConfigurationException

      Specified by:
        `loadPackages` in interface `PackageLoader`
      Throws:
        `ConfigurationException`

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.