org.ops4j.pax.swissbox.extender
Class BundleManifestScanner
java.lang.Object
org.ops4j.pax.swissbox.extender.BundleManifestScanner
- All Implemented Interfaces:
- BundleScanner<ManifestEntry>
public class BundleManifestScanner
- extends Object
- implements BundleScanner<ManifestEntry>
Scans manifest files for specific manifest entries.
- Since:
- 0.2.0, February 09, 2008
- Author:
- Alin Dreghiciu
Method Summary |
List<ManifestEntry> |
scan(org.osgi.framework.Bundle bundle)
Scans bundle manifest for matches against configured manifest headers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleManifestScanner
public BundleManifestScanner(ManifestFilter manifestFilter)
- Creates a BundleManifestScanner.
- Parameters:
manifestFilter
- dictionary filter used to filter manifest entries. Cannot be null.
- Throws:
org.ops4j.lang.NullArgumentException
- if dictionary filter is null
scan
public List<ManifestEntry> scan(org.osgi.framework.Bundle bundle)
- Scans bundle manifest for matches against configured manifest headers.
- Specified by:
scan
in interface BundleScanner<ManifestEntry>
- Parameters:
bundle
- bundle to be scanned
- Returns:
- list of matching manifest entries
- See Also:
BundleScanner.scan(Bundle)
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.