@Generated(value="de.adorsys.datasafe.runtimedelegate.RuntimeDelegateGenerator", comments="This class performs functionality delegation based on contextClass content. If contextClass contains overriding class - it will be used.") public class DFSPublicKeyServiceImplRuntimeDelegatable extends DFSPublicKeyServiceImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
DFSPublicKeyServiceImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
DFSPublicKeyServiceImplRuntimeDelegatable(OverridesRegistry context,
KeyStoreCache keystoreCache,
BucketAccessService bucketAccessService,
ProfileRetrievalService profiles,
StorageReadService readService,
GsonSerde serde) |
| Modifier and Type | Method and Description |
|---|---|
static void |
overrideWith(OverridesRegistry context,
Function<DFSPublicKeyServiceImplRuntimeDelegatable.ArgumentsCaptor,DFSPublicKeyServiceImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
PublicKeyIDWithPublicKey |
publicKey(UserID forUser)
Reads users' public key from DFS and caches the result.
|
@Inject public DFSPublicKeyServiceImplRuntimeDelegatable(@Nullable OverridesRegistry context, KeyStoreCache keystoreCache, BucketAccessService bucketAccessService, ProfileRetrievalService profiles, StorageReadService readService, GsonSerde serde)
context - Context class to search for overrides.public PublicKeyIDWithPublicKey publicKey(UserID forUser)
DFSPublicKeyServiceImplpublicKey in interface PublicKeyServicepublicKey in class DFSPublicKeyServiceImplpublic static void overrideWith(OverridesRegistry context, Function<DFSPublicKeyServiceImplRuntimeDelegatable.ArgumentsCaptor,DFSPublicKeyServiceImpl> ctorCaptor)
Copyright © 2019. All rights reserved.