public static String getProperty(String name, String defaultValue) {
        if (properties == null) {
            if (isSetupMode()) {
                return defaultValue;
            }
            properties = JiveProperties.getInstance();
        }
        String value = properties.get(name);
        if (value != null) {
            return value;
        }
        else {
            return defaultValue;
        }
    }
Returns a Jive property. If the specified property doesn't exist, the
{@code defaultValue} will be returned.

@param name the name of the property to return.
@param defaultValue value returned if the property doesn't exist.
@return the property value specified by name.
xmppserver/src/main/java/org/jivesoftware/util/JiveGlobals.java