Class StoreContextBuilder

java.lang.Object
fr.gouv.vitam.cas.container.builder.StoreContextBuilder

public class StoreContextBuilder extends Object
Creates ContentAddressableStorage configured in a configuration file
Ex. to build a ContentAddressableStorage of a particular store context,
    storeConfiguration = new StorageConfiguration().setProvider(StorageProvider.SWIFT_AUTH_V1.getValue())
      .setSwiftKeystoneAuthUrl("http://10.10.10.10:5000/auth/v1.0)
      .setTenantName(swift)
      .setUserName(user)
      .setSwiftPassword(passwd);

 contentAddressableStorage=StoreContextBuilder.newStoreContext(storeConfiguration);
 
See Also: