Package com.netflix.exhibitor.core.config

Examples of com.netflix.exhibitor.core.config.ConfigProvider


        if ( configType == null )
        {
            throw new MissingConfigurationTypeException("Configuration type (-" + SHORT_CONFIG_TYPE + " or --" + CONFIG_TYPE + ") must be specified", cli);
        }

        ConfigProvider configProvider = makeConfigProvider(configType, cli, commandLine, awsCredentials, awsClientConfig, backupProvider, useHostname, s3Region);
        if ( configProvider == null )
        {
            throw new ExhibitorCreatorExit(cli);
        }
        boolean        isNoneConfigProvider = (configProvider instanceof NoneConfigProvider);
View Full Code Here


    private ConfigProvider makeConfigProvider(String configType, ExhibitorCLI cli, CommandLine commandLine, PropertyBasedS3Credential awsCredentials, PropertyBasedS3ClientConfig awsClientConfig, BackupProvider backupProvider, String useHostname, String s3Region) throws Exception
    {
        Properties          defaultProperties = makeDefaultProperties(commandLine, backupProvider);

        ConfigProvider      configProvider;
        if ( configType.equals("s3") )
        {
            configProvider = getS3Provider(cli, commandLine, awsCredentials, awsClientConfig, useHostname, defaultProperties, s3Region);
        }
        else if ( configType.equals("file") )
View Full Code Here

TOP

Related Classes of com.netflix.exhibitor.core.config.ConfigProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.