public class MongoServerApiFactoryBean extends Object implements FactoryBean<com.mongodb.ServerApi>
OBJECT_TYPE_ATTRIBUTE| Constructor and Description |
|---|
MongoServerApiFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.ServerApi |
getObject() |
Class<?> |
getObjectType() |
void |
setDeprecationErrors(Boolean deprecationErrors) |
void |
setStrict(Boolean strict) |
void |
setVersion(String version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSingletonpublic void setVersion(String version)
version - the version string either as the enum name or the server version value.ServerApiVersionpublic void setDeprecationErrors(@Nullable Boolean deprecationErrors)
deprecationErrors - ServerApi.Builder#deprecationErrors(boolean)public void setStrict(@Nullable Boolean strict)
strict - ServerApi.Builder#strict(boolean)@Nullable public com.mongodb.ServerApi getObject() throws Exception
getObject in interface FactoryBean<com.mongodb.ServerApi>Exception@Nullable public Class<?> getObjectType()
getObjectType in interface FactoryBean<com.mongodb.ServerApi>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.