Interface VersionedDatasafeServices.Builder
- Enclosing interface:
- VersionedDatasafeServices
@Builder
public static interface VersionedDatasafeServices.Builder
Binds DFS connection (for example filesystem, minio) and system storage and access
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Binds (configures) system root uri - where user profiles will be located and system access to open (but not to read key) keystore.encryption(EncryptionConfig encryptionConfig) All encryption stuff configuration - which keystore to use - how to encrypt keys in keystore - which types of keys to create - what kind of encryption to use when encrypting document contentoverridesRegistry(OverridesRegistry overridesRegistry) Provides class overriding functionality, so that you can disable i.e.storage(StorageService storageService) Binds (configures) all storage operations - not necessary to callstorageListafter.
-
Method Details
-
config
Binds (configures) system root uri - where user profiles will be located and system access to open (but not to read key) keystore. -
storage
Binds (configures) all storage operations - not necessary to callstorageListafter. -
overridesRegistry
@BindsInstance VersionedDatasafeServices.Builder overridesRegistry(@Nullable OverridesRegistry overridesRegistry) Provides class overriding functionality, so that you can disable i.e. path encryption- Parameters:
overridesRegistry- Map with class-overrides (note: you can override classes that are annotated withRuntimeDelegate)
-
encryption
@BindsInstance VersionedDatasafeServices.Builder encryption(@Nullable EncryptionConfig encryptionConfig) All encryption stuff configuration - which keystore to use - how to encrypt keys in keystore - which types of keys to create - what kind of encryption to use when encrypting document content -
build
VersionedDatasafeServices build()- Returns:
- Provide NEW instance of Software-versioned Datasafe services. All dependencies except
annotated with
@Singletonwill have scope analogous to Spring {code @Prototype}.
-