Class PackageScannerConfigurationFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware

    @Deprecated(forRemoval=true)
    public class PackageScannerConfigurationFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 8.6
    Factory for the PackageScannerConfiguration to provide the scanner with Confluence's version number on startup.
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Constructor Summary

      Constructors 
      Constructor Description
      PackageScannerConfigurationFactory​(List<String> packageIncludes, List<String> packageExcludes, Properties packageVersions, Set<String> publicPackages, Set<String> publicPackagesExcludes, Set<String> applicationBundledInternalPlugins)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a PackageScannerConfigurationFactory with the given package includes/excludes and version mappings.
    • Constructor Detail

      • PackageScannerConfigurationFactory

        public PackageScannerConfigurationFactory​(List<String> packageIncludes,
                                                  List<String> packageExcludes,
                                                  Properties packageVersions,
                                                  Set<String> publicPackages,
                                                  Set<String> publicPackagesExcludes,
                                                  Set<String> applicationBundledInternalPlugins)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a PackageScannerConfigurationFactory with the given package includes/excludes and version mappings.
        Parameters:
        packageIncludes - packages to include when scanning for package versions
        packageExcludes - packages to exclude when scanning for package versions
        packageVersions - explicit mapping of packages to versions to use.
        publicPackages - packages to make available to 3rd party plugins
        publicPackagesExcludes - packages to exclude from the list of those available to 3rd party plugins
        applicationBundledInternalPlugins - additional plugins that can see more than just the public packages
    • Method Detail

      • getObject

        public Object getObject()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
      • getObjectType

        public Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration> getObjectType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
      • isSingleton

        public boolean isSingleton()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
      • setServletContext

        public void setServletContext​(javax.servlet.ServletContext servletContext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        setServletContext in interface org.springframework.web.context.ServletContextAware