|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.data.document.mongodb.repository.MongoRepositoryFactoryBean<T,S,ID>
public class MongoRepositoryFactoryBean<T extends,S,ID extends java.io.Serializable>
org.springframework.beans.factory.FactoryBean
to create MongoRepository
instances.
Nested Class Summary | |
---|---|
(package private) static class |
MongoRepositoryFactoryBean.EntityInformationCreator
Simple wrapper to to create MongoEntityInformation instances based on a MappingContext . |
private static class |
MongoRepositoryFactoryBean.IndexEnsuringQueryCreationListener
MongoRepositoryFactoryBean.IndexEnsuringQueryCreationListener inspecting PartTreeMongoQuery s and creating an index for the properties it
refers to. |
static class |
MongoRepositoryFactoryBean.MongoRepositoryFactory
Repository to create MongoRepository instances. |
Field Summary | |
---|---|
private MongoTemplate |
template
|
Constructor Summary | |
---|---|
MongoRepositoryFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected RepositoryFactorySupport |
createRepositoryFactory()
|
void |
setTemplate(MongoTemplate template)
Configures the MongoTemplate to be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MongoTemplate template
Constructor Detail |
---|
public MongoRepositoryFactoryBean()
Method Detail |
---|
public void setTemplate(MongoTemplate template)
MongoTemplate
to be used.
template
- the template to setprotected RepositoryFactorySupport createRepositoryFactory()
public void afterPropertiesSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |