Class UnmarshallerRepositoryPopulatorFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<ResourceReaderRepositoryPopulator>
org.springframework.data.repository.init.AbstractRepositoryPopulatorFactoryBean
org.springframework.data.repository.init.UnmarshallerRepositoryPopulatorFactoryBean
- All Implemented Interfaces:
EventListener, Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<ResourceReaderRepositoryPopulator>, InitializingBean, ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>
public class UnmarshallerRepositoryPopulatorFactoryBean
extends AbstractRepositoryPopulatorFactoryBean
- Author:
- Oliver Gierke, Christoph Strobl, Johannes Englmeier
-
Field Summary
Fields inherited from class AbstractFactoryBean
loggerFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected ResourceReadervoidsetUnmarshaller(Unmarshaller unmarshaller) Configures theUnmarshallerto be used.Methods inherited from class AbstractRepositoryPopulatorFactoryBean
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
-
UnmarshallerRepositoryPopulatorFactoryBean
public UnmarshallerRepositoryPopulatorFactoryBean()
-
-
Method Details
-
setUnmarshaller
Configures theUnmarshallerto be used.- Parameters:
unmarshaller- the unmarshaller to set
-
getResourceReader
- Specified by:
getResourceReaderin classAbstractRepositoryPopulatorFactoryBean
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Overrides:
afterPropertiesSetin classAbstractRepositoryPopulatorFactoryBean- Throws:
Exception
-