001/*
002 * Copyright (c) 2006-2013 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 * Vladimir Pasquier <vpasquier@nuxeo.com>
011 * Stephane Lacoin <slacoin@nuxeo.com>
012 */
013package org.nuxeo.ecm.automation.client;
014
015import java.net.URISyntaxException;
016import java.net.URL;
017
018/**
019 * @since 5.7 Automation Client Service factory
020 */
021public interface AutomationClientFactory {
022
023    AutomationClient getClient(URL url) throws URISyntaxException;
024
025    AutomationClient getClient(URL url, int httpCxTimeout) throws URISyntaxException;
026}