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:
ComponentDefinitionRegistryProcessor
Direct Known Subclasses:
CmPropertyPlaceholder

public class PropertyPlaceholder
extends AbstractPropertyPlaceholder

Property placeholder that looks for properties in the System properties.

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

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
 java.util.Map getDefaultProperties()
           
 java.util.List<java.net.URL> getLocations()
           
protected  java.lang.String getProperty(java.lang.String val)
           
 PropertyPlaceholder.SystemProperties getSystemProperties()
           
 void init()
           
 boolean isIgnoreMissingLocations()
           
 void setDefaultProperties(java.util.Map defaultProperties)
           
 void setIgnoreMissingLocations(boolean ignoreMissingLocations)
           
 void setLocations(java.util.List<java.net.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 java.util.Map getDefaultProperties()

setDefaultProperties

public void setDefaultProperties(java.util.Map defaultProperties)

getLocations

public java.util.List<java.net.URL> getLocations()

setLocations

public void setLocations(java.util.List<java.net.URL> locations)

isIgnoreMissingLocations

public boolean isIgnoreMissingLocations()

setIgnoreMissingLocations

public void setIgnoreMissingLocations(boolean ignoreMissingLocations)

getSystemProperties

public PropertyPlaceholder.SystemProperties getSystemProperties()

setSystemProperties

public void setSystemProperties(PropertyPlaceholder.SystemProperties systemProperties)

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

getProperty

protected java.lang.String getProperty(java.lang.String val)
Overrides:
getProperty in class AbstractPropertyPlaceholder


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