public class CredentialsProviderFactory
extends java.lang.Object
Constructor and Description |
---|
CredentialsProviderFactory() |
CredentialsProviderFactory(org.jgroups.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
com.amazonaws.auth.AWSCredentialsProvider |
createCredentialsProvider(java.lang.String credentialProviderClass)
Loads a new instance of the credential provider, using the same class loading rules from org.jgroups.Util.loadClass(String, Class).
|
public CredentialsProviderFactory()
public CredentialsProviderFactory(org.jgroups.logging.Log log)
public com.amazonaws.auth.AWSCredentialsProvider createCredentialsProvider(java.lang.String credentialProviderClass) throws java.lang.Exception
Loads a new instance of the credential provider, using the same class loading rules from org.jgroups.Util.loadClass(String, Class).
credentialProviderClass
- the class name of the AWSCredentialsProvider to load.java.lang.ClassNotFoundException
- if the implementation could not be found.java.lang.InstantiationException
- if the implementation does not have a no argument constructor.java.lang.Exception
Copyright © 2012-2017 meltmedia. All Rights Reserved.