com.atlassian.plugin.osgi.container
Interface PackageScannerConfiguration

All Known Implementing Classes:
DefaultPackageScannerConfiguration

public interface PackageScannerConfiguration

Contains configuration for the package scanning algorithm that scans your classpath to determine which packages and versions to export to OSGi. Jar and package includes/excludes, and packages for the package version map can either be simple names or wildcard patterns, where the "*" character will match any character.

Includes and excludes are matched so that only includes are, well, included, but if you need to filter a few out of that set, the exclude patterns will be removed.


Method Summary
 java.util.List<java.lang.String> getJarExcludes()
           
 java.util.List<java.lang.String> getJarIncludes()
           
 java.util.List<java.lang.String> getPackageExcludes()
           
 java.util.List<java.lang.String> getPackageIncludes()
           
 java.util.Map<java.lang.String,java.lang.String> getPackageVersions()
           
 

Method Detail

getJarIncludes

java.util.List<java.lang.String> getJarIncludes()
Returns:
The jar patterns to include

getJarExcludes

java.util.List<java.lang.String> getJarExcludes()
Returns:
The jar patterns to exclude

getPackageIncludes

java.util.List<java.lang.String> getPackageIncludes()
Returns:
The package patterns to include

getPackageExcludes

java.util.List<java.lang.String> getPackageExcludes()
Returns:
The package patterns to exclude

getPackageVersions

java.util.Map<java.lang.String,java.lang.String> getPackageVersions()
Returns:
A map of package patterns and their versions


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.