org.ops4j.pax.swissbox.extender
Class BundleManifestScanner

java.lang.Object
  extended by org.ops4j.pax.swissbox.extender.BundleManifestScanner
All Implemented Interfaces:
BundleScanner<ManifestEntry>

public class BundleManifestScanner
extends java.lang.Object
implements BundleScanner<ManifestEntry>

Scans manifest files for specific manifest entries.

Since:
0.2.0, February 09, 2008
Author:
Alin Dreghiciu

Constructor Summary
BundleManifestScanner(ManifestFilter manifestFilter)
          Creates a BundleManifestScanner.
 
Method Summary
 java.util.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
 

Constructor Detail

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
Method Detail

scan

public java.util.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.