001 package org.kuali.common.util.service;
002
003 import java.util.List;
004
005 import org.springframework.core.env.PropertySource;
006
007 public class SpringContext {
008
009 List<String> locations;
010 List<Class<?>> annotatedClasses;
011 List<String> beanNames;
012 List<Object> beans;
013 List<PropertySource<?>> propertySources;
014 boolean lastOneInWins = true;
015
016 public List<String> getLocations() {
017 return locations;
018 }
019
020 public void setLocations(List<String> locations) {
021 this.locations = locations;
022 }
023
024 public List<String> getBeanNames() {
025 return beanNames;
026 }
027
028 public void setBeanNames(List<String> beanNames) {
029 this.beanNames = beanNames;
030 }
031
032 public List<Object> getBeans() {
033 return beans;
034 }
035
036 public void setBeans(List<Object> beans) {
037 this.beans = beans;
038 }
039
040 public List<PropertySource<?>> getPropertySources() {
041 return propertySources;
042 }
043
044 public void setPropertySources(List<PropertySource<?>> propertySources) {
045 this.propertySources = propertySources;
046 }
047
048 public boolean isLastOneInWins() {
049 return lastOneInWins;
050 }
051
052 public void setLastOneInWins(boolean lastOneInWins) {
053 this.lastOneInWins = lastOneInWins;
054 }
055
056 public List<Class<?>> getAnnotatedClasses() {
057 return annotatedClasses;
058 }
059
060 public void setAnnotatedClasses(List<Class<?>> annotatedClasses) {
061 this.annotatedClasses = annotatedClasses;
062 }
063
064 }