public class MongoSessionFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<MongoSessionFactory>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
| Constructor and Description |
|---|
MongoSessionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected MongoSessionFactory |
buildMongoSessionFactory() |
MongoDaoResourceBuilderAdapter |
getMongoDaoResourceBuilderAdapter() |
MongoSessionFactory |
getObject() |
Class<?> |
getObjectType() |
protected void |
initMongoDaoStatement() |
boolean |
isSingleton() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setConfiguration(Configuration configuration) |
void |
setMongodaoLocations(org.springframework.core.io.Resource[] mongodaoLocations) |
void |
setMongoDaoResourceBuilderAdapter(MongoDaoResourceBuilderAdapter mongoDaoResourceBuilderAdapter) |
void |
setMongoOperations(org.springframework.data.mongodb.core.MongoOperations mongoOperations) |
void |
setMongoSessionFactory(MongoSessionFactory mongoSessionFactory) |
void |
setPlugins(Interceptor[] plugins) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public void setConfiguration(Configuration configuration)
public void setMongoOperations(org.springframework.data.mongodb.core.MongoOperations mongoOperations)
public void setPlugins(Interceptor[] plugins)
public void setMongodaoLocations(org.springframework.core.io.Resource[] mongodaoLocations)
public MongoDaoResourceBuilderAdapter getMongoDaoResourceBuilderAdapter()
public void setMongoDaoResourceBuilderAdapter(MongoDaoResourceBuilderAdapter mongoDaoResourceBuilderAdapter)
public void setMongoSessionFactory(MongoSessionFactory mongoSessionFactory)
public MongoSessionFactory getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<MongoSessionFactory>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<MongoSessionFactory>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<MongoSessionFactory>public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>protected MongoSessionFactory buildMongoSessionFactory()
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
protected void initMongoDaoStatement()
Copyright © 2019. All rights reserved.