/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.com
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package org.jfox.ejb.deploy;

import java.net.MalformedURLException;
import java.net.URL;
import java.io.IOException;

import org.jfox.ejb.meta.EJBDescriptionException;

/**
 *
 * 各种 deployer 都应该要实现的接口
 *
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */

public interface Deployer {

  void deploy (URL url) throws MalformedURLException, IOException,EJBDescriptionException;

  void undeploy (URL url) throws MalformedURLException, IOException,EJBDescriptionException;

  boolean isDeployed (URL url) throws MalformedURLException;

}