org.apache.aries.blueprint.ext
Class PropertyPlaceholder

java.lang.Object
  extended by org.apache.aries.blueprint.ext.AbstractPropertyPlaceholder
      extended by org.apache.aries.blueprint.ext.PropertyPlaceholder
All Implemented Interfaces:
org.apache.aries.blueprint.ComponentDefinitionRegistryProcessor

public class PropertyPlaceholder
extends AbstractPropertyPlaceholder

Property placeholder that looks for properties in the System properties.

Version:
$Rev: 1179206 $, $Date: 2011-10-05 13:55:23 +0100 (Wed, 05 Oct 2011) $

Nested Class Summary
static class PropertyPlaceholder.SystemProperties
           
 
Nested classes/interfaces inherited from class org.apache.aries.blueprint.ext.AbstractPropertyPlaceholder
AbstractPropertyPlaceholder.LateBindingValueMetadata
 
Constructor Summary
PropertyPlaceholder()
           
 
Method Summary
 Map getDefaultProperties()
           
 PropertyEvaluator getEvaluator()
           
 List<URL> getLocations()
           
protected  String getProperty(String val)
           
 PropertyPlaceholder.SystemProperties getSystemProperties()
           
 void init()
           
 boolean isIgnoreMissingLocations()
           
protected  String retrieveValue(String expression)
           
 void setDefaultProperties(Map defaultProperties)
           
 void setEvaluator(PropertyEvaluator evaluator)
           
 void setIgnoreMissingLocations(boolean ignoreMissingLocations)
           
 void setLocations(List<URL> locations)
           
 void setSystemProperties(PropertyPlaceholder.SystemProperties systemProperties)
           
 
Methods inherited from class org.apache.aries.blueprint.ext.AbstractPropertyPlaceholder
getPattern, getPlaceholderPrefix, getPlaceholderSuffix, process, processBeanMetadata, processCollectionMetadata, processMapEntries, processMapMetadata, processMetadata, processPropsMetadata, processRefCollectionMetadata, processReferenceMetadata, processServiceMetadata, processString, processValueMetadata, setPlaceholderPrefix, setPlaceholderSuffix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyPlaceholder

public PropertyPlaceholder()
Method Detail

getDefaultProperties

public Map getDefaultProperties()

setDefaultProperties

public void setDefaultProperties(Map defaultProperties)

getLocations

public List<URL> getLocations()

setLocations

public void setLocations(List<URL> locations)

isIgnoreMissingLocations

public boolean isIgnoreMissingLocations()

setIgnoreMissingLocations

public void setIgnoreMissingLocations(boolean ignoreMissingLocations)

getSystemProperties

public PropertyPlaceholder.SystemProperties getSystemProperties()

setSystemProperties

public void setSystemProperties(PropertyPlaceholder.SystemProperties systemProperties)

getEvaluator

public PropertyEvaluator getEvaluator()

setEvaluator

public void setEvaluator(PropertyEvaluator evaluator)

init

public void init()
          throws Exception
Throws:
Exception

getProperty

protected String getProperty(String val)
Overrides:
getProperty in class AbstractPropertyPlaceholder

retrieveValue

protected String retrieveValue(String expression)
Overrides:
retrieveValue in class AbstractPropertyPlaceholder


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.