public class PackageScannerConfigurationFactory extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware
Constructor and Description |
---|
PackageScannerConfigurationFactory(List<String> packageIncludes,
List<String> packageExcludes,
Properties packageVersions)
Create a PackageScannerConfigurationFactory with the given package includes/excludes and version mappings.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration> |
getObjectType() |
boolean |
isSingleton() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public PackageScannerConfigurationFactory(List<String> packageIncludes, List<String> packageExcludes, Properties packageVersions)
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.public Object getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean
public Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2003–2021 Atlassian. All rights reserved.