Class PersistentEntitiesFactoryBean
java.lang.Object
org.springframework.data.r2dbc.config.PersistentEntitiesFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<PersistentEntities>
public class PersistentEntitiesFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<PersistentEntities>
Simple helper to be able to wire the
PersistentEntities
from a R2dbcMappingContext
bean available in
the application context.- Since:
- 1.2
- Author:
- Mark Paluch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionPersistentEntitiesFactoryBean
(R2dbcMappingContext mappingContext) Creates a newPersistentEntitiesFactoryBean
for the givenR2dbcMappingContext
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
PersistentEntitiesFactoryBean
Creates a newPersistentEntitiesFactoryBean
for the givenR2dbcMappingContext
.- Parameters:
mappingContext
- must not be null.
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<PersistentEntities>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<PersistentEntities>
-