Class PersistentEntitiesFactoryBean
java.lang.Object
org.springframework.data.cassandra.config.PersistentEntitiesFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
public class PersistentEntitiesFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
Simple helper to be able to wire the
MappingContext from a CassandraConverter bean available in the
application context.-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionPersistentEntitiesFactoryBean(CassandraConverter converter) Creates a newPersistentEntitiesFactoryBeanfor the givenCassandraConverter. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.mapping.context.PersistentEntitiesClass<?>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
PersistentEntitiesFactoryBean
Creates a newPersistentEntitiesFactoryBeanfor the givenCassandraConverter.- Parameters:
converter- must not be null.
-
-
Method Details
-
getObject
public org.springframework.data.mapping.context.PersistentEntities getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.data.mapping.context.PersistentEntities>
-