org.jboss.metadata.property
Class SystemPropertyResolver
java.lang.Object
org.jboss.metadata.property.SystemPropertyResolver
- All Implemented Interfaces:
- PropertyResolver
public class SystemPropertyResolver
- extends Object
- implements PropertyResolver
Attempt to resolve properties using system and environment properties.
- Author:
- John Bailey
Method Summary |
String |
resolve(String propertyName)
Attempt to resolve the provided property name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SystemPropertyResolver INSTANCE
resolve
public String resolve(String propertyName)
- Description copied from interface:
PropertyResolver
- Attempt to resolve the provided property name.
- Specified by:
resolve
in interface PropertyResolver
- Parameters:
propertyName
- The name to resolve.
- Returns:
- The resolved value or
null
if the property can not be resolved.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.