org.kuali.common.util.spring
Class PropertiesLoaderFactoryBean

java.lang.Object
  extended by org.kuali.common.util.property.PropertiesContext
      extended by org.kuali.common.util.spring.PropertiesLoaderFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Properties>

public class PropertiesLoaderFactoryBean
extends PropertiesContext
implements org.springframework.beans.factory.FactoryBean<Properties>

The improvement over Springs PropertiesFactoryBean is the ability to dynamically resolve placeholders in the property locations themselves.


Field Summary
protected  Properties global
           
 
Fields inherited from class org.kuali.common.util.property.PropertiesContext
encoding, helper, locations, missingLocationsMode, properties
 
Constructor Summary
PropertiesLoaderFactoryBean()
           
 
Method Summary
 Properties getObject()
           
 Class<Properties> getObjectType()
           
 boolean isSingleton()
           
 void setSingleton(boolean singleton)
           
 
Methods inherited from class org.kuali.common.util.property.PropertiesContext
getEncoding, getHelper, getLocations, getMissingLocationsMode, getProperties, setEncoding, setHelper, setLocations, setMissingLocationsMode, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

global

protected Properties global
Constructor Detail

PropertiesLoaderFactoryBean

public PropertiesLoaderFactoryBean()
Method Detail

getObject

public Properties getObject()
                     throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<Properties>
Throws:
Exception

getObjectType

public Class<Properties> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<Properties>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<Properties>

setSingleton

public void setSingleton(boolean singleton)


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