org.neovera.jdiablo.environment
Class MapBasedPropertyPlaceholderProvider

java.lang.Object
  extended by org.neovera.jdiablo.environment.MapBasedPropertyPlaceholderProvider
All Implemented Interfaces:
PropertyPlaceholderProvider

public class MapBasedPropertyPlaceholderProvider
extends Object
implements PropertyPlaceholderProvider

A simple map-based property placeholder provider that is expected to be defined as a bean in the Spring XML and have its properties map populated via Spring's element.


Constructor Summary
MapBasedPropertyPlaceholderProvider()
           
 
Method Summary
 Map<String,String> getProperties()
           
 String getProperty(String key)
           
 void setProperties(Map<String,String> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBasedPropertyPlaceholderProvider

public MapBasedPropertyPlaceholderProvider()
Method Detail

getProperties

public Map<String,String> getProperties()

setProperties

public void setProperties(Map<String,String> properties)

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface PropertyPlaceholderProvider
Parameters:
key - Property name
Returns:
Value


Copyright © 2014 Neovera Inc.. All rights reserved.