public static String[] getRequiredStringArrayProperty(Configuration config,
                                                          String key) throws DeployerConfigurationException {
        String[] property = getStringArrayProperty(config, key);
        if (ArrayUtils.isEmpty(property)) {
            throw new MissingConfigurationPropertyException(key);
        } else {
            return property;
        }
    }
public static String [ ] getRequiredStringArrayProperty ( Configuration config , String key ) throws DeployerConfigurationException { String [ ] property = getStringArrayProperty ( config , key ) ; if ( ArrayUtils . isEmpty ( property ) ) { throw new MissingConfigurationPropertyException ( key ) ; } else { return property ; } }
Returns the specified String array property from the configuration. If the property is missing a
{@link MissingConfigurationPropertyException} is thrown. A String array property is normally specified as
a String with values separated by commas in the configuration.

@param config the configuration
@param key    the key of the property
@return the String value of the property
@throws MissingConfigurationPropertyException if the property is missing from the configuration
@throws DeployerConfigurationException        if an error occurred