Class JacksonRepositoryPopulatorFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<ResourceReaderRepositoryPopulator>
org.springframework.data.repository.init.AbstractRepositoryPopulatorFactoryBean
org.springframework.data.repository.init.JacksonRepositoryPopulatorFactoryBean
- All Implemented Interfaces:
EventListener, Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<ResourceReaderRepositoryPopulator>, InitializingBean, ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>
- Since:
- 4.0
- Author:
- Mark Paluch, Oliver Gierke, Christoph Strobl
-
Field Summary
Fields inherited from class AbstractFactoryBean
loggerFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceReadervoidsetMapper(@Nullable tools.jackson.databind.ObjectMapper mapper) Configures theObjectMapperto be used.Methods inherited from class AbstractRepositoryPopulatorFactoryBean
afterPropertiesSet, createInstance, getObjectType, onApplicationEvent, setApplicationContext, setResourcesMethods inherited from class AbstractFactoryBean
destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
JacksonRepositoryPopulatorFactoryBean
public JacksonRepositoryPopulatorFactoryBean()
-
-
Method Details
-
setMapper
public void setMapper(@Nullable tools.jackson.databind.ObjectMapper mapper) Configures theObjectMapperto be used.- Parameters:
mapper- can be null.
-
getResourceReader
- Specified by:
getResourceReaderin classAbstractRepositoryPopulatorFactoryBean
-