public class ResourceLoaderBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.context.ResourceLoaderAware
BeanPostProcessor and BeanFactoryPostProcessor implementation that allows classes to receive
a specialized ResourceLoader that can handle S3 resources with the ResourceLoaderAware interface
or through injecting the resource loader.| Constructor and Description |
|---|
ResourceLoaderBeanPostProcessor(com.amazonaws.services.s3.AmazonS3 amazonS3) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor) |
public ResourceLoaderBeanPostProcessor(com.amazonaws.services.s3.AmazonS3 amazonS3)
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwareCopyright © 2017 Pivotal Software, Inc.. All rights reserved.