org.apache.tapestry.util
Class SystemPropertiesPropertySource
java.lang.Object
org.apache.tapestry.util.SystemPropertiesPropertySource
- All Implemented Interfaces:
- IPropertySource
public class SystemPropertiesPropertySource
- extends Object
- implements IPropertySource
Obtain properties from JVM system properties.
- Since:
- 2.3
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemPropertiesPropertySource
public SystemPropertiesPropertySource()
getInstance
public static IPropertySource getInstance()
getPropertyValue
public String getPropertyValue(String propertyName)
- Delegates to
System.getProperty(java.lang.String)
.
- Specified by:
getPropertyValue
in interface IPropertySource
- Parameters:
propertyName
- Name of the property to get.
- Returns:
- Value of property or null if none found.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.