@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 DefaultUserProfileCacheRuntimeDelegatable extends DefaultUserProfileCache
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultUserProfileCacheRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
DefaultUserProfileCacheRuntimeDelegatable(OverridesRegistry context,
Map<UserID,UserPublicProfile> publicProfile,
Map<UserID,UserPrivateProfile> privateProfile) |
| Modifier and Type | Method and Description |
|---|---|
Map<UserID,UserPrivateProfile> |
getPrivateProfile()
Cache for users' private profile part
|
Map<UserID,UserPublicProfile> |
getPublicProfile()
Cache for users' public profile part
|
static void |
overrideWith(OverridesRegistry context,
Function<DefaultUserProfileCacheRuntimeDelegatable.ArgumentsCaptor,DefaultUserProfileCache> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
@Inject public DefaultUserProfileCacheRuntimeDelegatable(@Nullable OverridesRegistry context, Map<UserID,UserPublicProfile> publicProfile, Map<UserID,UserPrivateProfile> privateProfile)
context - Context class to search for overrides.public Map<UserID,UserPublicProfile> getPublicProfile()
UserProfileCachepublic Map<UserID,UserPrivateProfile> getPrivateProfile()
UserProfileCachepublic static void overrideWith(OverridesRegistry context, Function<DefaultUserProfileCacheRuntimeDelegatable.ArgumentsCaptor,DefaultUserProfileCache> ctorCaptor)
Copyright © 2019. All rights reserved.