org.springframework.data.repository.init
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
FactoryBean to create a ResourceReaderRepositoryPopulator using an Unmarshaller.
- Author:
- Oliver Gierke
| Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
| Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnmarshallerRepositoryPopulatorFactoryBean
public UnmarshallerRepositoryPopulatorFactoryBean()
setUnmarshaller
public void setUnmarshaller(org.springframework.oxm.Unmarshaller unmarshaller)
- Configures the
Unmarshaller to be used.
- Parameters:
unmarshaller - the unmarshaller to set
getResourceReader
protected ResourceReader getResourceReader()
- Specified by:
getResourceReader in class AbstractRepositoryPopulatorFactoryBean
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSet in class org.springframework.beans.factory.config.AbstractFactoryBean<ResourceReaderRepositoryPopulator>
- Throws:
Exception
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.