org.springframework.data.keyvalue.core.KeyValueAdapter Java Examples
The following examples show how to use
org.springframework.data.keyvalue.core.KeyValueAdapter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Configurations.java From tutorials with MIT License | 4 votes |
@Bean public KeyValueAdapter keyValueAdapter() { return new MapKeyValueAdapter(ConcurrentHashMap.class); }
Example #2
Source File: VaultKeyValueTemplate.java From spring-vault with Apache License 2.0 | 2 votes |
/** * Create a new {@link VaultKeyValueTemplate} given {@link KeyValueAdapter} and * {@link VaultMappingContext}. * @param adapter must not be {@literal null}. */ public VaultKeyValueTemplate(KeyValueAdapter adapter) { this(adapter, new VaultMappingContext()); }
Example #3
Source File: VaultKeyValueTemplate.java From spring-vault with Apache License 2.0 | 2 votes |
/** * Create a new {@link VaultKeyValueTemplate} given {@link KeyValueAdapter} and * {@link VaultMappingContext}. * @param adapter must not be {@literal null}. * @param mappingContext must not be {@literal null}. */ public VaultKeyValueTemplate(KeyValueAdapter adapter, VaultMappingContext mappingContext) { super(adapter, mappingContext); }