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)
Deprecated.
since 3.5
|
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.@Deprecated public PackageScannerConfigurationFactory(List<String> packageIncludes, List<String> packageExcludes)
packageIncludes
- - packages to include when scanning for package versionspackageExcludes
- - packages to exclude when scanning for package versionspublic Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
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–2017 Atlassian. All rights reserved.