protected ProcessOutputValidator createProcessOutputValidator ( ) { //get process output validator String className = this . getConfigurationValue ( FaxClientSpiConfigurationConstants . PROCESS_OUTPUT_VALIDATOR_PRE_FORMAT_PROPERTY_KEY ) ; ProcessOutputValidator validator = null ; if ( className == null ) { className = ExitCodeProcessOutputValidator . class . getName ( ) ; } //create new instance validator = ( ProcessOutputValidator ) ReflectionHelper . createInstance ( className ) ; return validator ; }
This function creates and returns the process output validator .