com.ca.jcs.cfg
Class CustomPropertiesFactoryBean

java.lang.Object
  extended by org.springframework.core.io.support.PropertiesLoaderSupport
      extended by org.springframework.beans.factory.config.PropertiesFactoryBean
          extended by com.ca.jcs.cfg.CustomPropertiesFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class CustomPropertiesFactoryBean
extends org.springframework.beans.factory.config.PropertiesFactoryBean

Properties factory bean that overrides the Spring class to force usage of our custom server context factory, so that proper Spring shutdown handling is performed. Properties objects returned from this factory ignore all attempts to alter the initial context factory property value.

Author:
fittr01

Nested Class Summary
static class CustomPropertiesFactoryBean.CustomProperties
           
 
Field Summary
 
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
logger, XML_FILE_EXTENSION
 
Constructor Summary
CustomPropertiesFactoryBean()
           
 
Method Summary
protected  Object createInstance()
           
 
Methods inherited from class org.springframework.beans.factory.config.PropertiesFactoryBean
afterPropertiesSet, getObject, getObjectType, isSingleton, setSingleton
 
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomPropertiesFactoryBean

public CustomPropertiesFactoryBean()
Method Detail

createInstance

protected Object createInstance()
                         throws IOException
Overrides:
createInstance in class org.springframework.beans.factory.config.PropertiesFactoryBean
Throws:
IOException


Created 2011-07-14 13:27 EST