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

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

Introduction

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

Prototype

public static void setProperty(String propertyName, String value, boolean isDefault) 

Source Link

Document

Set value for property bound to the current thread context class loader.

Usage

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

/**
 * Set value for property bound to the current thread context class loader.
 * @param propertyName property name//w w  w  .  j  ava  2  s.co m
 * @param value property value.  If null, remove the property.
 * @param isDefault determines if property is default or not.
 *        A non-default property cannot be overriden.
 *        A default property can be overriden by a property
 *        (default or non-default) of the same name bound to
 *        a decendent class loader.
 */
public static void setProperty(String propertyName, String value, boolean isDefault) {
    ManagedProperties.setProperty(propertyName, value, isDefault);
}