Spring Data Commons

org.springframework.data.repository.init
Class UnmarshallerRepositoryPopulatorFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<ResourceReaderRepositoryPopulator>
      extended by org.springframework.data.repository.init.AbstractRepositoryPopulatorFactoryBean
          extended by org.springframework.data.repository.init.UnmarshallerRepositoryPopulatorFactoryBean
All Implemented Interfaces:
EventListener, Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<ResourceReaderRepositoryPopulator>, InitializingBean, ApplicationListener<ContextRefreshedEvent>

public class UnmarshallerRepositoryPopulatorFactoryBean
extends AbstractRepositoryPopulatorFactoryBean

FactoryBean to create a ResourceReaderRepositoryPopulator using an Unmarshaller.

Author:
Oliver Gierke

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
UnmarshallerRepositoryPopulatorFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  ResourceReader getResourceReader()
           
 void setUnmarshaller(Unmarshaller unmarshaller)
          Configures the Unmarshaller to be used.
 
Methods inherited from class org.springframework.data.repository.init.AbstractRepositoryPopulatorFactoryBean
createInstance, getObjectType, onApplicationEvent, setResources
 
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
 

Constructor Detail

UnmarshallerRepositoryPopulatorFactoryBean

public UnmarshallerRepositoryPopulatorFactoryBean()
Method Detail

setUnmarshaller

public void setUnmarshaller(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 InitializingBean
Overrides:
afterPropertiesSet in class AbstractFactoryBean<ResourceReaderRepositoryPopulator>
Throws:
Exception

Spring Data Commons

Copyright © 2012. All Rights Reserved.