Class SortedResourcesFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<Resource[]>
org.springframework.data.cassandra.config.SortedResourcesFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<Resource[]>
,InitializingBean
,ResourceLoaderAware
public class SortedResourcesFactoryBean
extends AbstractFactoryBean<Resource[]>
implements ResourceLoaderAware
FactoryBean
implementation that takes a list of location Strings and
creates a sorted array of Resource
instances.- Since:
- 3.0
- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionSortedResourcesFactoryBean
(List<String> locations) SortedResourcesFactoryBean
(ResourceLoader resourceLoader, List<String> locations) -
Method Summary
Modifier and TypeMethodDescriptionprotected Resource[]
void
setResourceLoader
(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
- Specified by:
setResourceLoader
in interfaceResourceLoaderAware
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<Resource[]>
- Specified by:
getObjectType
in classAbstractFactoryBean<Resource[]>
-
createInstance
- Specified by:
createInstance
in classAbstractFactoryBean<Resource[]>
- Throws:
Exception
-