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
Modifier and TypeMethodDescriptionjavax.servlet.ServletContextdefault boolean
-
Method Details
-
getJarIncludes
- Returns:
- The jar patterns to include
-
getJarExcludes
- Returns:
- The jar patterns to exclude
-
getPackageIncludes
- Returns:
- The package patterns to include
-
getPackageExcludes
- Returns:
- The package patterns to exclude
-
getPackageVersions
- Returns:
- A map of package patterns and their versions
-
getCurrentHostVersion
String getCurrentHostVersion()- Returns:
- The current host application version number. Used as a caching key for scanned data.
- Since:
- 2.2.0
-
getServletContext
javax.servlet.ServletContext getServletContext()- Returns:
- The servlet context to use to scan for jars, in case the classloader scanning fails
-
getOsgiPublicPackages
-
getOsgiPublicPackagesExcludes
-
getOsgiDeprecatedPackages
- Since:
- 7.3
-
treatDeprecatedPackagesAsPublic
default boolean treatDeprecatedPackagesAsPublic()- Since:
- 7.3
-
getApplicationBundledInternalPlugins
-