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
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<ResourceReaderRepositoryPopulator>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class UnmarshallerRepositoryPopulatorFactoryBean
extends AbstractRepositoryPopulatorFactoryBean
- Author:
- Oliver Gierke, Christoph Strobl, Johannes Englmeier
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected ResourceReader
void
setUnmarshaller
(org.springframework.oxm.Unmarshaller unmarshaller) Configures theUnmarshaller
to be used.Methods inherited from class org.springframework.data.repository.init.AbstractRepositoryPopulatorFactoryBean
createInstance, getObjectType, onApplicationEvent, setApplicationContext, setResources
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
UnmarshallerRepositoryPopulatorFactoryBean
public UnmarshallerRepositoryPopulatorFactoryBean()
-
-
Method Details
-
setUnmarshaller
public void setUnmarshaller(org.springframework.oxm.Unmarshaller unmarshaller) Configures theUnmarshaller
to be used.- Parameters:
unmarshaller
- the unmarshaller to set
-
getResourceReader
- Specified by:
getResourceReader
in classAbstractRepositoryPopulatorFactoryBean
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classAbstractRepositoryPopulatorFactoryBean
- Throws:
Exception
-