Example usage for org.apache.commons.discovery.tools ManagedProperties getProperty

List of usage examples for org.apache.commons.discovery.tools ManagedProperties getProperty

Introduction

In this page you can find the example usage for org.apache.commons.discovery.tools ManagedProperties getProperty.

Prototype

public static String getProperty(ClassLoader classLoader, String propertyName) 

Source Link

Document

Get value for property bound to the class loader.

Usage

From source file:org.apache.axis.AxisProperties.java

/**
 * Get value for property bound to the current thread context class loader.
 * If not found, then return default.//from w  w w  . j a  v a  2 s  .c  o m
 *
 * @param propertyName property name.
 * @param dephault default value.
 * @return property value if found, otherwise default.
 */
public static String getProperty(String propertyName, String dephault) {
    return ManagedProperties.getProperty(propertyName, dephault);
}