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

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

Introduction

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

Prototype

public static void setProperties(Map newProperties, boolean isDefault) 

Source Link

Document

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

Usage

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

/**
 * Set property values for <code>Properties</code> bound to the
 * current thread context class loader.//  w  w  w . j  a  v  a2  s .  c o  m
 *
 * @param newProperties name/value pairs to be bound
 * @param isDefault determines if properties are 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 setProperties(Map newProperties, boolean isDefault) {
    ManagedProperties.setProperties(newProperties, isDefault);
}