/**
 * OW2 Specifications
 * Copyright (C) 2007 Bull S.A.S.
 * Contact: easybeans@objectweb.org
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 * USA
 *
 * --------------------------------------------------------------------------
 * $Id: ClientConfiguration.java 4359 2008-12-10 10:24:40Z sauthieg $
 * --------------------------------------------------------------------------
 */

package javax.enterprise.deploy.spi.status;

import java.io.Serializable;

import javax.enterprise.deploy.spi.exceptions.ClientExecuteException;

/**
 * The ClientConfiguration object installs, configures and executes an
 * Application Client. This class resolves the settings for installing
 * and running the application client.
 * @author Guillaume Sauthier
 */
public interface ClientConfiguration extends Serializable {

    /**
     * This method performs an exec and starts the application client running
     * in another process.
     * @throws ClientExecuteException when the configuration is incomplete.
     */
    void execute() throws ClientExecuteException;
}
