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 oneConstructor 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.DisposableBean
Exception
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public MongoClientConnector getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<MongoClientConnector>
Exception
public 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.