com.atlassian.confluence.plugin.spring
Class PackageScannerConfigurationFactory

java.lang.Object
  extended by com.atlassian.confluence.plugin.spring.PackageScannerConfigurationFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.web.context.ServletContextAware

public class PackageScannerConfigurationFactory
extends 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(List<String> packageIncludes, List<String> packageExcludes)
           
 
Method Summary
 Object getObject()
           
 Class<com.atlassian.plugin.osgi.container.PackageScannerConfiguration> getObjectType()
           
 boolean isSingleton()
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageScannerConfigurationFactory

public PackageScannerConfigurationFactory(List<String> packageIncludes,
                                          List<String> packageExcludes)
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public 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-2010 Atlassian. All Rights Reserved.