Class MongoServerApiFactoryBean
java.lang.Object
org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- All Implemented Interfaces:
FactoryBean<ServerApi>
- Since:
- 3.3
- Author:
- Christoph Strobl
-
Field Summary
Fields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDeprecationErrors(@Nullable Boolean deprecationErrors) voidvoidsetVersion(String version) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingleton
-
Constructor Details
-
MongoServerApiFactoryBean
public MongoServerApiFactoryBean()
-
-
Method Details
-
setVersion
- Parameters:
version- the version string either as the enum name or the server version value.- See Also:
-
setDeprecationErrors
-
setStrict
-
getObject
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<ServerApi>
-