Class PackageScannerConfigurationFactory
- java.lang.Object
-
- com.atlassian.confluence.plugin.spring.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.6Factory for the PackageScannerConfiguration to provide the scanner with Confluence's version number on startup.
-
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectgetObject()Deprecated, for removal: This API element is subject to removal in a future version.Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>getObjectType()Deprecated, for removal: This API element is subject to removal in a future version.booleanisSingleton()Deprecated, for removal: This API element is subject to removal in a future version.voidsetServletContext(javax.servlet.ServletContext servletContext)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
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 versionspackageExcludes- packages to exclude when scanning for package versionspackageVersions- explicit mapping of packages to versions to use.publicPackages- packages to make available to 3rd party pluginspublicPackagesExcludes- packages to exclude from the list of those available to 3rd party pluginsapplicationBundledInternalPlugins- 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:
getObjectin interfaceorg.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:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isSingletonin interfaceorg.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:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
-