Package com.gigaspaces.persistency
Class MongoClientConnectorBeanFactory
java.lang.Object
com.gigaspaces.persistency.MongoClientConnectorBeanFactory
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<MongoClientConnector>,org.springframework.beans.factory.InitializingBean
public class MongoClientConnectorBeanFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<MongoClientConnector>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Default spring bean factory implementation that can get external
MongoClientConnectorConfigurer as configurer otherwise create it own one- Author:
- Shadi Massalha
-
Constructor Details
-
MongoClientConnectorBeanFactory
public MongoClientConnectorBeanFactory()
-
-
Method Details
-
setDb
-
setConfig
public void setConfig(com.mongodb.MongoClient config) -
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<MongoClientConnector>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<MongoClientConnector>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<MongoClientConnector>
-