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.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.