Class EntitySeekingThrongClientFactoryBean
java.lang.Object
org.smallmind.persistence.orm.spring.throng.EntitySeekingThrongClientFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<ThrongClientFactory>,org.springframework.beans.factory.InitializingBean
public class EntitySeekingThrongClientFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<ThrongClientFactory>, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClass<?>booleanvoidsetAnnotationSeekingBeanFactoryPostProcessor(AnnotationSeekingBeanFactoryPostProcessor annotationSeekingBeanFactoryPostProcessor) voidsetDatabaseName(String databaseName) voidsetMongoClient(com.mongodb.client.MongoClient mongoClient) voidsetSessionSourceKey(String sessionSourceKey) voidsetThrongOptions(ThrongOptions throngOptions)
-
Constructor Details
-
EntitySeekingThrongClientFactoryBean
public EntitySeekingThrongClientFactoryBean()
-
-
Method Details
-
setAnnotationSeekingBeanFactoryPostProcessor
public void setAnnotationSeekingBeanFactoryPostProcessor(AnnotationSeekingBeanFactoryPostProcessor annotationSeekingBeanFactoryPostProcessor) -
setMongoClient
public void setMongoClient(com.mongodb.client.MongoClient mongoClient) -
setThrongOptions
-
setDatabaseName
-
setSessionSourceKey
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<ThrongClientFactory>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<ThrongClientFactory>
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<ThrongClientFactory>- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws ThrongMappingException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
ThrongMappingExceptionNoSuchMethodExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetException
-