@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 CMSDocumentReadServiceRuntimeDelegatable extends CMSDocumentReadService
| Modifier and Type | Class and Description |
|---|---|
static class |
CMSDocumentReadServiceRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
CMSDocumentReadServiceRuntimeDelegatable(OverridesRegistry context,
StorageReadService readService,
PrivateKeyService privateKeyService,
CMSEncryptionService cms) |
| Modifier and Type | Method and Description |
|---|---|
static void |
overrideWith(OverridesRegistry context,
Function<CMSDocumentReadServiceRuntimeDelegatable.ArgumentsCaptor,CMSDocumentReadService> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
InputStream |
read(ReadRequest<UserIDAuth,AbsoluteLocation<PrivateResource>> request) |
@Inject public CMSDocumentReadServiceRuntimeDelegatable(@Nullable OverridesRegistry context, StorageReadService readService, PrivateKeyService privateKeyService, CMSEncryptionService cms)
context - Context class to search for overrides.public InputStream read(ReadRequest<UserIDAuth,AbsoluteLocation<PrivateResource>> request)
read in interface EncryptedDocumentReadServiceread in class CMSDocumentReadServicepublic static void overrideWith(OverridesRegistry context, Function<CMSDocumentReadServiceRuntimeDelegatable.ArgumentsCaptor,CMSDocumentReadService> ctorCaptor)
Copyright © 2020. All rights reserved.