org.apache.xbean.osgi.bundle.util
Class BundleResourceFinder.DefaultResourceFinderCallback
java.lang.Object
org.apache.xbean.osgi.bundle.util.BundleResourceFinder.DefaultResourceFinderCallback
- All Implemented Interfaces:
- BundleResourceFinder.ResourceFinderCallback
- Enclosing class:
- BundleResourceFinder
public static class BundleResourceFinder.DefaultResourceFinderCallback
- extends java.lang.Object
- implements BundleResourceFinder.ResourceFinderCallback
Method Summary |
void |
foundInDirectory(org.osgi.framework.Bundle bundle,
java.lang.String baseDir,
java.net.URL url)
|
void |
foundInJar(org.osgi.framework.Bundle bundle,
java.lang.String jarName,
java.util.zip.ZipEntry entry,
java.io.InputStream in)
|
java.util.Set<java.net.URL> |
getResources()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleResourceFinder.DefaultResourceFinderCallback
public BundleResourceFinder.DefaultResourceFinderCallback()
BundleResourceFinder.DefaultResourceFinderCallback
public BundleResourceFinder.DefaultResourceFinderCallback(java.util.Set<java.net.URL> resources)
getResources
public java.util.Set<java.net.URL> getResources()
foundInDirectory
public void foundInDirectory(org.osgi.framework.Bundle bundle,
java.lang.String baseDir,
java.net.URL url)
throws java.lang.Exception
- Specified by:
foundInDirectory
in interface BundleResourceFinder.ResourceFinderCallback
- Throws:
java.lang.Exception
foundInJar
public void foundInJar(org.osgi.framework.Bundle bundle,
java.lang.String jarName,
java.util.zip.ZipEntry entry,
java.io.InputStream in)
throws java.lang.Exception
- Specified by:
foundInJar
in interface BundleResourceFinder.ResourceFinderCallback
- Throws:
java.lang.Exception
Copyright © 2005-2011. All Rights Reserved.