类 OssClientFactoryBean
- java.lang.Object
-
- cn.crushes.cloud.core.oss.bean.OssClientFactoryBean
-
- 所有已实现的接口:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<com.aliyun.oss.OSS>,org.springframework.beans.factory.InitializingBean
public class OssClientFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.aliyun.oss.OSS>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
- 作者:
- youta
-
-
字段概要
字段 修饰符和类型 字段 说明 private StringaccessKeyIdprivate StringaccessKeySecretprivate Stringendpointprivate com.aliyun.oss.OSSossClient
-
构造器概要
构造器 构造器 说明 OssClientFactoryBean()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafterPropertiesSet()voiddestroy()com.aliyun.oss.OSSgetObject()Class<?>getObjectType()booleanisSingleton()voidsetAccessKeyId(String accessKeyId)voidsetAccessKeySecret(String accessKeySecret)voidsetEndpoint(String endpoint)
-
-
-
方法详细资料
-
getObject
public com.aliyun.oss.OSS getObject() throws Exception- 指定者:
getObject在接口中org.springframework.beans.factory.FactoryBean<com.aliyun.oss.OSS>- 抛出:
Exception
-
getObjectType
public Class<?> getObjectType()
- 指定者:
getObjectType在接口中org.springframework.beans.factory.FactoryBean<com.aliyun.oss.OSS>
-
isSingleton
public boolean isSingleton()
- 指定者:
isSingleton在接口中org.springframework.beans.factory.FactoryBean<com.aliyun.oss.OSS>
-
destroy
public void destroy() throws Exception- 指定者:
destroy在接口中org.springframework.beans.factory.DisposableBean- 抛出:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- 指定者:
afterPropertiesSet在接口中org.springframework.beans.factory.InitializingBean- 抛出:
Exception
-
setEndpoint
public void setEndpoint(String endpoint)
-
setAccessKeyId
public void setAccessKeyId(String accessKeyId)
-
setAccessKeySecret
public void setAccessKeySecret(String accessKeySecret)
-
-