T
- The repository type.S
- The repository domain type.ID
- The repository id type.public class VaultRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends KeyValueRepositoryFactoryBean<T,S,ID>
FactoryBean
interface to allow easy setup of
VaultRepositoryFactory
via Spring configuration.Constructor and Description |
---|
VaultRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
VaultRepositoryFactoryBean for the given repository
interface. |
Modifier and Type | Method and Description |
---|---|
protected VaultRepositoryFactory |
createRepositoryFactory(KeyValueOperations operations,
Class<? extends AbstractQueryCreator<?,?>> queryCreator,
Class<? extends RepositoryQuery> repositoryQueryType) |
afterPropertiesSet, createRepositoryFactory, setKeyValueOperations, setMappingContext, setQueryCreator, setQueryType
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
public VaultRepositoryFactoryBean(Class<? extends T> repositoryInterface)
VaultRepositoryFactoryBean
for the given repository
interface.repositoryInterface
- must not be null.protected VaultRepositoryFactory createRepositoryFactory(KeyValueOperations operations, Class<? extends AbstractQueryCreator<?,?>> queryCreator, Class<? extends RepositoryQuery> repositoryQueryType)
createRepositoryFactory
in class KeyValueRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable>
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.