public class

PackageScannerConfigurationFactory

extends Object
implements FactoryBean ServletContextAware
java.lang.Object
   ↳ com.atlassian.confluence.plugin.spring.PackageScannerConfigurationFactory

Class Overview

Factory for the PackageScannerConfiguration to provide the scanner with Confluence's version number on startup.

Summary

Public Constructors
PackageScannerConfigurationFactory(List<String> packageIncludes, List<String> packageExcludes, Properties packageVersions)
Create a PackageScannerConfigurationFactory with the given package includes/excludes and version mappings.
@Deprecated PackageScannerConfigurationFactory(List<String> packageIncludes, List<String> packageExcludes)
This constructor is deprecated. since 3.5
Public Methods
Object getObject()
Class<PackageScannerConfiguration> getObjectType()
boolean isSingleton()
void setServletContext(ServletContext servletContext)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.FactoryBean
From interface org.springframework.web.context.ServletContextAware

Public Constructors

public PackageScannerConfigurationFactory (List<String> packageIncludes, List<String> packageExcludes, Properties packageVersions)

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.

@Deprecated public PackageScannerConfigurationFactory (List<String> packageIncludes, List<String> packageExcludes)

This constructor is deprecated.
since 3.5

Create a PackageScannerConfigurationFactory with the given package includes/excludes.

Parameters
packageIncludes - packages to include when scanning for package versions
packageExcludes - packages to exclude when scanning for package versions

Public Methods

public Object getObject ()

Throws
Exception

public Class<PackageScannerConfiguration> getObjectType ()

public boolean isSingleton ()

public void setServletContext (ServletContext servletContext)