Class PersistentEntitiesFactoryBean
java.lang.Object
org.springframework.data.elasticsearch.config.PersistentEntitiesFactoryBean
- All Implemented Interfaces:
FactoryBean<PersistentEntities>
public class PersistentEntitiesFactoryBean
extends Object
implements FactoryBean<PersistentEntities>
Simple helper to be able to wire the
PersistentEntities
from a MappingElasticsearchConverter
bean
available in the application context.- Since:
- 4.1
- Author:
- Oliver Gierke, Mark Paluch, Christoph Strobl, Peter-Josef Meisch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionCreates a newPersistentEntitiesFactoryBean
for the givenMappingElasticsearchConverter
. -
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 givenMappingElasticsearchConverter
.- Parameters:
converter
- must not be null.
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<PersistentEntities>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<PersistentEntities>
-