Package org.springframework.jdbc.config
Class SortedResourcesFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.core.io.Resource[]>
org.springframework.jdbc.config.SortedResourcesFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.springframework.core.io.Resource[]>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ResourceLoaderAware
public class SortedResourcesFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.core.io.Resource[]>
implements org.springframework.context.ResourceLoaderAware
FactoryBean implementation that takes a list of location Strings
and creates a sorted array of Resource instances.- Since:
- 3.0
- Author:
- Dave Syer, Juergen Hoeller, Christian Dupuis
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionSortedResourcesFactoryBean(List<String> locations) SortedResourcesFactoryBean(org.springframework.core.io.ResourceLoader resourceLoader, List<String> locations) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.io.Resource[]Class<? extends org.springframework.core.io.Resource[]>voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
SortedResourcesFactoryBean
-
SortedResourcesFactoryBean
-
-
Method Details
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - Specified by:
setResourceLoaderin interfaceorg.springframework.context.ResourceLoaderAware
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.core.io.Resource[]>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.core.io.Resource[]>
-
createInstance
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.core.io.Resource[]>- Throws:
Exception
-