org.alfresco.config
Class JndiPropertyPlaceholderConfigurer

java.lang.Object
  extended by org.springframework.core.io.support.PropertiesLoaderSupport
      extended by org.springframework.beans.factory.config.PropertyResourceConfigurer
          extended by org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
              extended by org.alfresco.config.FixedPropertyPlaceholderConfigurer
                  extended by org.alfresco.config.JndiPropertyPlaceholderConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public class JndiPropertyPlaceholderConfigurer
extends FixedPropertyPlaceholderConfigurer

An extended PropertyPlaceholderConfigurer that allows properties to be set through JNDI entries in java:comp/env/properties/*. The precedence given to system properties is still as per the superclass.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDE
 
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport
logger, XML_FILE_EXTENSION
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
JndiPropertyPlaceholderConfigurer()
           
 
Method Summary
protected  java.lang.String resolvePlaceholder(java.lang.String placeholder, java.util.Properties props)
           
 
Methods inherited from class org.alfresco.config.FixedPropertyPlaceholderConfigurer
setValueSeparator
 
Methods inherited from class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
parseStringValue, processProperties, resolvePlaceholder, resolveSystemProperty, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeName
 
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer
convertProperties, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder
 
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

JndiPropertyPlaceholderConfigurer

public JndiPropertyPlaceholderConfigurer()
Method Detail

resolvePlaceholder

protected java.lang.String resolvePlaceholder(java.lang.String placeholder,
                                              java.util.Properties props)
Overrides:
resolvePlaceholder in class org.springframework.beans.factory.config.PropertyPlaceholderConfigurer


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.