Class PackageScannerConfigurationFactory
java.lang.Object
com.atlassian.crowd.plugin.spring.PackageScannerConfigurationFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>,org.springframework.web.context.ServletContextAware
public final class PackageScannerConfigurationFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>, org.springframework.web.context.ServletContextAware
Factory for the PackageScannerConfiguration to provide the scanner with Crowd's version number on startup.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionPackageScannerConfigurationFactory(org.springframework.core.io.Resource packageExportsResource, org.springframework.core.io.Resource publicApiResource, Map<String, String> packageVersions) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.plugin.osgi.container.PackageScannerConfigurationClass<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>booleanvoidsetServletContext(javax.servlet.ServletContext servletContext)
-
Constructor Details
-
PackageScannerConfigurationFactory
-
-
Method Details
-
getObject
public com.atlassian.plugin.osgi.container.PackageScannerConfiguration getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.osgi.container.PackageScannerConfiguration>
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-