com.springsource.bundlor
Interface BundleAnalyzer

All Known Implementing Classes:
StandardBundleAnalyzer

public interface BundleAnalyzer

The main entry point for bundle analyzation. Analyzation of a bundle does not use a template in an attempt to complete a manifest, but rather determines what needs to be imported and is exported from a bundle.

Concurrent Semantics
Implementations must be threadsafe

Author:
Ben Hale

Method Summary
 java.util.Set<java.lang.String> exportablePackages(java.lang.String path)
          Determines the set of packages exported by this bundle
 java.util.Set<java.lang.String> importablePackages(java.lang.String path)
          Determines the set of package imports that a bundle needs to have satisfied
 

Method Detail

importablePackages

java.util.Set<java.lang.String> importablePackages(java.lang.String path)
Determines the set of package imports that a bundle needs to have satisfied

Parameters:
path - The path to the jar file to analyze
Returns:
The set of names of imported packages needed by the bundle

exportablePackages

java.util.Set<java.lang.String> exportablePackages(java.lang.String path)
Determines the set of packages exported by this bundle

Parameters:
path - The path to the jar file to analyze
Returns:
The set of names of exported packages in the bundle