public class SpannerRepositoryFactoryBean
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpannerRepositoryFactoryBean(Class repositoryInterface)
Creates a new
SpannerRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setSpannerMappingContext(SpannerMappingContext mappingContext) |
void |
setSpannerTemplate(SpannerOperations operations) |
afterPropertiesSet, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic SpannerRepositoryFactoryBean(Class repositoryInterface)
SpannerRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.public void setSpannerTemplate(SpannerOperations operations)
public void setSpannerMappingContext(SpannerMappingContext mappingContext)
protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
createRepositoryFactory in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupportpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.