org.apache.xbean.osgi.bundle.util
Class BundleResourceFinder.DefaultResourceFinderCallback

java.lang.Object
  extended by org.apache.xbean.osgi.bundle.util.BundleResourceFinder.DefaultResourceFinderCallback
All Implemented Interfaces:
BundleResourceFinder.ResourceFinderCallback
Enclosing class:
BundleResourceFinder

public static class BundleResourceFinder.DefaultResourceFinderCallback
extends Object
implements BundleResourceFinder.ResourceFinderCallback


Constructor Summary
BundleResourceFinder.DefaultResourceFinderCallback()
           
BundleResourceFinder.DefaultResourceFinderCallback(Set<URL> resources)
           
 
Method Summary
 void foundInDirectory(org.osgi.framework.Bundle bundle, String baseDir, URL url)
           
 void foundInJar(org.osgi.framework.Bundle bundle, String jarName, ZipEntry entry, InputStream in)
           
 Set<URL> getResources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleResourceFinder.DefaultResourceFinderCallback

public BundleResourceFinder.DefaultResourceFinderCallback()

BundleResourceFinder.DefaultResourceFinderCallback

public BundleResourceFinder.DefaultResourceFinderCallback(Set<URL> resources)
Method Detail

getResources

public Set<URL> getResources()

foundInDirectory

public void foundInDirectory(org.osgi.framework.Bundle bundle,
                             String baseDir,
                             URL url)
                      throws Exception
Specified by:
foundInDirectory in interface BundleResourceFinder.ResourceFinderCallback
Throws:
Exception

foundInJar

public void foundInJar(org.osgi.framework.Bundle bundle,
                       String jarName,
                       ZipEntry entry,
                       InputStream in)
                throws Exception
Specified by:
foundInJar in interface BundleResourceFinder.ResourceFinderCallback
Throws:
Exception


Copyright © 2005-2013. All Rights Reserved.