Package com.streamreduce.connections

Examples of com.streamreduce.connections.ExternalIntegrationConnectionProvider


        return connection;
    }

    private void validateExternalIntegrationConnections(Connection connection) throws InvalidCredentialsException, IOException {
        ExternalIntegrationConnectionProvider connectionProvider;
        try {
            connectionProvider = connectionProviderFactory.externalIntegrationConnectionProviderFromId(connection.getProviderId());
        } catch (Exception e) {
            logger.info("Connection with providerId of " + connection.getProviderId() + " does not " +
                    "support validation via an external client.");
            return;
        }

        ExternalIntegrationClient externalClient = connectionProvider.getClient(connection);
        externalClient.validateConnection();
        externalClient.cleanUp();
    }
View Full Code Here

TOP

Related Classes of com.streamreduce.connections.ExternalIntegrationConnectionProvider

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.