public class MongoClientConnectorBeanFactory extends Object implements org.springframework.beans.factory.FactoryBean<MongoClientConnector>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
MongoClientConnectorConfigurer as configurer otherwise create it own one| Constructor and Description |
|---|
MongoClientConnectorBeanFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
MongoClientConnector |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setConfig(com.mongodb.MongoClient config) |
void |
setDb(String db) |
public void setDb(String db)
public void setConfig(com.mongodb.MongoClient config)
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic MongoClientConnector getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<MongoClientConnector>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<MongoClientConnector>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<MongoClientConnector>Copyright © GigaSpaces.