T
- AmazonWebServiceClient
の実装 public class AmazonWebserviceClientFactoryBean<T extends com.amazonaws.AmazonWebServiceClient> extends AbstractFactoryBean<T>
AmazonWebServiceClient
インスタンスを作成するための FactoryBean
クラス。このクラスは、それぞれの AmazonWebServiceClient クラスを作成する責任があります。これは、Web サービスクライアントクラス内の無効なプロパティが原因で、Springs の BeanFactory を介した構成が失敗するためです。(https://github.com/aws/aws-sdk-java/issues/325 を参照してください)logger
OBJECT_TYPE_ATTRIBUTE
コンストラクターと説明 |
---|
AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider) |
AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider, RegionProvider regionProvider) |
AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider, RegionProvider regionProvider, com.amazonaws.ClientConfiguration clientConfiguration) |
修飾子と型 | メソッドと説明 |
---|---|
protected T | createInstance() |
protected void | destroyInstance(T instance) |
ClassSE<?> | getObjectType() |
void | setClientConfiguration(com.amazonaws.ClientConfiguration clientConfiguration) |
void | setCustomEndpoint(URISE customEndpoint) |
void | setCustomRegion(StringSE customRegionName) |
void | setExecutor(ExecutorServiceSE executor) |
void | setRegionProvider(RegionProvider regionProvider) |
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider)
public AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider, RegionProvider regionProvider)
public AmazonWebserviceClientFactoryBean(ClassSE<T> clientClass, com.amazonaws.auth.AWSCredentialsProvider credentialsProvider, RegionProvider regionProvider, com.amazonaws.ClientConfiguration clientConfiguration)
public ClassSE<?> getObjectType()
FactoryBean<T extends com.amazonaws.AmazonWebServiceClient>
の getObjectType
AbstractFactoryBean<T extends com.amazonaws.AmazonWebServiceClient>
の getObjectType
protected T createInstance() throws ExceptionSE
AbstractFactoryBean<T extends com.amazonaws.AmazonWebServiceClient>
の createInstance
ExceptionSE
public void setRegionProvider(RegionProvider regionProvider)
public void setCustomRegion(StringSE customRegionName)
public void setCustomEndpoint(URISE customEndpoint)
public void setExecutor(ExecutorServiceSE executor)
public void setClientConfiguration(com.amazonaws.ClientConfiguration clientConfiguration)
protected void destroyInstance(T instance) throws ExceptionSE
AbstractFactoryBean<T extends com.amazonaws.AmazonWebServiceClient>
の destroyInstance
ExceptionSE
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.