aeron-driver/src/main/java/io/aeron/driver/Configuration.java
public static TerminationValidator terminationValidator()
    {
        TerminationValidator validator = null;
        try
        {
            final String className = getProperty(TERMINATION_VALIDATOR_PROP_NAME);
            if (null == className)
            {
                return new DefaultDenyTerminationValidator();
            }

            validator = (TerminationValidator)Class.forName(className).getConstructor().newInstance();
        }
        catch (final Exception ex)
        {
            LangUtil.rethrowUnchecked(ex);
        }

        return validator;
    }
public static TerminationValidator terminationValidator()
    {
        TerminationValidator validator = null;
        try
        {
            final String className = getProperty(TERMINATION_VALIDATOR_PROP_NAME);
            if (null == className)
            {
                return new DefaultDenyTerminationValidator();
            }

            validator = (TerminationValidator)Class.forName(className).getConstructor().newInstance();
        }
        catch (final Exception ex)
        {
            LangUtil.rethrowUnchecked(ex);
        }

        return validator;
    }
public static TerminationValidator terminationValidator ( ) { TerminationValidator validator = null ; try { final String className = getProperty ( TERMINATION_VALIDATOR_PROP_NAME ) ; if ( null == className ) { return new DefaultDenyTerminationValidator ( ) ; } validator = ( TerminationValidator ) Class . forName ( className ) . getConstructor ( ) . newInstance ( ) ; } catch ( final Exception ex ) { LangUtil . rethrowUnchecked ( ex ) ; } return validator ; }
Get the {@link TerminationValidator} implementations which can be used for validating a termination request
sent to the driver to ensure the client has the right to terminate a driver.

@return the {@link TerminationValidator}
Get the { @link TerminationValidator } implementations which can be used for validating a termination request sent to the driver to ensure the client has the right to terminate a driver .