Knopflerfish OSGi 5.2.0

org.knopflerfish.ant.taskdefs.bundle
Class BundleArchives

java.lang.Object
  extended by org.knopflerfish.ant.taskdefs.bundle.BundleArchives

public class BundleArchives
extends java.lang.Object

A class that analyzes all bundle jar files given by a list of resource collections (file sets).


Field Summary
static java.lang.String BUNDLE_BLUEPRINT
           
static java.lang.String BUNDLE_LICENSE
           
static java.lang.String SERVICE_COMPONENT
           
static java.lang.String SRC_PREFIX
          Path prefix for source files included into the bundle archive.
 
Constructor Summary
BundleArchives(org.apache.tools.ant.Task task, java.util.List<org.apache.tools.ant.types.ResourceCollection> resourceCollections)
          Traverse the given list of resource collections and create BundleArchive-objects for all bundle jars found.
BundleArchives(org.apache.tools.ant.Task task, java.util.List<org.apache.tools.ant.types.ResourceCollection> resourceCollections, boolean parseExportImport)
          Traverse the given list of resource collections and create BundleArchive-objects for all bundle jars found.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE_BLUEPRINT

public static final java.lang.String BUNDLE_BLUEPRINT
See Also:
Constant Field Values

BUNDLE_LICENSE

public static final java.lang.String BUNDLE_LICENSE
See Also:
Constant Field Values

SERVICE_COMPONENT

public static final java.lang.String SERVICE_COMPONENT
See Also:
Constant Field Values

SRC_PREFIX

public static final java.lang.String SRC_PREFIX
Path prefix for source files included into the bundle archive.

See Also:
Constant Field Values
Constructor Detail

BundleArchives

public BundleArchives(org.apache.tools.ant.Task task,
                      java.util.List<org.apache.tools.ant.types.ResourceCollection> resourceCollections)
Traverse the given list of resource collections and create BundleArchive-objects for all bundle jars found.

Parameters:
task - The task that uses this class, used for logging and project access.
resourceCollections - The collection of resource collections selecting the bundle archives to load.

BundleArchives

public BundleArchives(org.apache.tools.ant.Task task,
                      java.util.List<org.apache.tools.ant.types.ResourceCollection> resourceCollections,
                      boolean parseExportImport)
Traverse the given list of resource collections and create BundleArchive-objects for all bundle jars found.

Parameters:
task - The task that uses this class, used for logging and project access.
resourceCollections - The collection of resource collections selecting the bundle archives to load.
parseExportImport - If true then the created bundle archive objects will parse the import / export package / service headers.

Knopflerfish OSGi 5.2.0