@Singleton
@Component(modules={DefaultCredentialsModule.class,DefaultKeyStoreModule.class,DefaultDocumentModule.class,DefaultCMSEncryptionModule.class,DefaultPathEncryptionModule.class,DefaultInboxActionsModule.class,DefaultPrivateActionsModule.class,DefaultVersionedPrivateActionsModule.class,DefaultProfileModule.class,DefaultStorageModule.class})
public interface VersionedDatasafeServices
@Singleton annotation, it is not real singleton, the only shared thing
across all services instantiated using build() is bindings with Singleton in its Module.| Modifier and Type | Interface and Description |
|---|---|
static interface |
VersionedDatasafeServices.Builder
Binds DFS connection (for example filesystem, minio) and system storage and access
|
| Modifier and Type | Method and Description |
|---|---|
InboxService |
inboxService() |
VersionedPrivateSpaceService<LatestDFSVersion> |
latestPrivate() |
PrivateSpaceService |
privateService() |
ProfileOperations |
userProfile() |
DefaultVersionInfoServiceImpl |
versionInfo() |
DefaultVersionInfoServiceImpl versionInfo()
VersionedPrivateSpaceService<LatestDFSVersion> latestPrivate()
PrivateSpaceService privateService()
InboxService inboxService()
ProfileOperations userProfile()
Copyright © 2019. All rights reserved.