org.springframework.data.hadoop.fs
Class CustomResourceLoaderRegistrar
java.lang.Object
org.springframework.data.hadoop.fs.CustomResourceLoaderRegistrar
- All Implemented Interfaces:
- BeanFactoryPostProcessor, ApplicationContextAware, Ordered
public class CustomResourceLoaderRegistrar
- extends Object
- implements ApplicationContextAware, BeanFactoryPostProcessor, Ordered
Utility class that overrides the built-in ResourceEditor
to allow HdfsResourceLoader
to be
searched first.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomResourceLoaderRegistrar
public CustomResourceLoaderRegistrar()
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
throws BeansException
- Specified by:
postProcessBeanFactory
in interface BeanFactoryPostProcessor
- Throws:
BeansException
getOrder
public int getOrder()
- Specified by:
getOrder
in interface Ordered
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
setLoader
public void setLoader(ResourcePatternResolver loader)