@Component public class OssHandlerContextRegister extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
构造器和说明 |
---|
OssHandlerContextRegister() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterPropertiesSet() |
IOssHandler |
getOssHandler(OssType ossType)
获取对象存储处理器
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public IOssHandler getOssHandler(OssType ossType)
ossType
- 对象存储处理器类型public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
在接口中 org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void afterPropertiesSet()
afterPropertiesSet
在接口中 org.springframework.beans.factory.InitializingBean