org.apache.struts2.osgi
Class BundlePackageLoader

java.lang.Object
  extended by org.apache.struts2.osgi.BundlePackageLoader
All Implemented Interfaces:
PackageLoader

public class BundlePackageLoader
extends java.lang.Object
implements PackageLoader

Package loader implementation that loads resources from a bundle


Constructor Summary
BundlePackageLoader()
           
 
Method Summary
 java.util.List<PackageConfig> loadPackages(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleContext bundleContext, ObjectFactory objectFactory, java.util.Map<java.lang.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 java.util.List<PackageConfig> loadPackages(org.osgi.framework.Bundle bundle,
                                                  org.osgi.framework.BundleContext bundleContext,
                                                  ObjectFactory objectFactory,
                                                  java.util.Map<java.lang.String,PackageConfig> pkgConfigs)
                                           throws ConfigurationException
Specified by:
loadPackages in interface PackageLoader
Throws:
ConfigurationException


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.