public void setProperties(Map<String, String> propertyMap) {
        final Lock writeLock = readWriteLock.writeLock();
        writeLock.lock();
        try {
            for (String propertyName : propertyMap.keySet()) {
                String propertyValue = propertyMap.get(propertyName);
                setProperty(propertyName, propertyValue);
            }
        } finally {
            writeLock.unlock();
        }
    }
Returns an array representation of the given Jive property. Jive
properties are always in the format "prop.name.is.this" which would be
represented as an array of four Strings.

@param name the name of the Jive property.
@return an array representation of the given Jive property.
xmppserver/src/main/java/org/jivesoftware/util/XMLProperties.java