com.atlassian.confluence.plugin.spring
Class PackageScannerConfigurationFactory
java.lang.Object
com.atlassian.confluence.plugin.spring.PackageScannerConfigurationFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware
public class PackageScannerConfigurationFactory
- extends java.lang.Object
- implements org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware
Factory for the PackageScannerConfiguration to provide the scanner with Confluence's version number on startup.
Constructor Summary |
PackageScannerConfigurationFactory(java.util.List<java.lang.String> packageIncludes,
java.util.List<java.lang.String> packageExcludes)
Deprecated. since 3.5 |
PackageScannerConfigurationFactory(java.util.List<java.lang.String> packageIncludes,
java.util.List<java.lang.String> packageExcludes,
java.util.Properties packageVersions)
Create a PackageScannerConfigurationFactory with the given package includes/excludes and version mappings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageScannerConfigurationFactory
public PackageScannerConfigurationFactory(java.util.List<java.lang.String> packageIncludes,
java.util.List<java.lang.String> packageExcludes,
java.util.Properties packageVersions)
- 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.
PackageScannerConfigurationFactory
@Deprecated
public PackageScannerConfigurationFactory(java.util.List<java.lang.String> packageIncludes,
java.util.List<java.lang.String> packageExcludes)
- Deprecated. since 3.5
- Create a PackageScannerConfigurationFactory with the given package includes/excludes.
- Parameters:
packageIncludes
- - packages to include when scanning for package versionspackageExcludes
- - packages to exclude when scanning for package versions
getObject
public java.lang.Object getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2003-2013 Atlassian. All Rights Reserved.