T - the type parameterpublic class R2dbcMapperFactoryBean<T> extends Object implements org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
mapperInterface |
protected ReactiveSqlSessionFactory |
reactiveSqlSessionFactory |
| Constructor and Description |
|---|
R2dbcMapperFactoryBean()
Instantiates a new r2dbc mapper factory bean.
|
R2dbcMapperFactoryBean(Class<T> clazz)
Instantiates a new r2dbc mapper factory bean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
T |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMapperInterface(Class<T> mapperInterface)
Sets mapper interface.
|
void |
setSqlSessionFactory(ReactiveSqlSessionFactory reactiveSqlSessionFactory)
Sets sql session factory.
|
protected ReactiveSqlSessionFactory reactiveSqlSessionFactory
public R2dbcMapperFactoryBean()
public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<T>public void setMapperInterface(Class<T> mapperInterface)
mapperInterface - the mapper interfacepublic void setSqlSessionFactory(ReactiveSqlSessionFactory reactiveSqlSessionFactory)
reactiveSqlSessionFactory - the reactive sql session factoryCopyright © 2022. All rights reserved.