public class StoreContextBuilder extends Object
ContentAddressableStorage
configured in a configuration file
ContentAddressableStorage
of a particular store
context,
storeConfiguration = new StorageConfiguration().setProvider(StorageProvider.SWIFT_AUTH_V1.getValue()) .setKeystoneEndPoint("http://10.10.10.10:5000/auth/v1.0) .setTenantName(swift) .setUserName(user) .setCredential(passwd) .setCephMode(true); contentAddressableStorage=StoreContextBuilder.newStoreContext(storeConfiguration);
Constructor and Description |
---|
StoreContextBuilder() |
Modifier and Type | Method and Description |
---|---|
static ContentAddressableStorage |
newStoreContext(StorageConfiguration configuration)
Builds
ContentAddressableStorage |
public static ContentAddressableStorage newStoreContext(StorageConfiguration configuration) throws CertificateException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException, IOException
ContentAddressableStorage
configuration
- StorageConfiguration
CertificateException
NoSuchAlgorithmException
KeyStoreException
KeyManagementException
IOException
Copyright © 2018 Vitam. All rights reserved.