org.kuali.common.util.spring
Class AbstractPropertySourceConfig

java.lang.Object
  extended by org.kuali.common.util.spring.AbstractPropertySourceConfig
Direct Known Subclasses:
MavenPropertySourceConfig

@Configuration
public abstract class AbstractPropertySourceConfig
extends Object


Constructor Summary
AbstractPropertySourceConfig()
           
 
Method Summary
protected  List<ProjectProperties> getOtherProjectProperties()
          This returns an empty list by default.
protected abstract  ProjectProperties getProjectProperties()
           
 org.springframework.core.env.PropertySource<?> getPropertySource()
           
 org.springframework.core.env.PropertySource<?> springPropertySource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPropertySourceConfig

public AbstractPropertySourceConfig()
Method Detail

getOtherProjectProperties

protected List<ProjectProperties> getOtherProjectProperties()
This returns an empty list by default. Add in ProjectProperties as appropriate. Properties from this list use a "last one in wins" strategy.


getProjectProperties

protected abstract ProjectProperties getProjectProperties()

getPropertySource

public org.springframework.core.env.PropertySource<?> getPropertySource()

springPropertySource

@Bean
public org.springframework.core.env.PropertySource<?> springPropertySource()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.