1 /* 2 * $Id: MuleDeployer.java 19666 2010-09-16 16:32:29Z aperepel $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 11 package org.mule.module.launcher; 12 13 import org.mule.module.launcher.application.Application; 14 15 import java.io.IOException; 16 import java.net.URL; 17 18 /** 19 * 20 */ 21 public interface MuleDeployer 22 { 23 24 void deploy(Application app); 25 26 void undeploy(Application app); 27 28 /** 29 * Installs packaged Mule apps from $MULE_HOME/apps directory. 30 * @param packedMuleAppFileName filename of the packed Mule app (only name + ext) 31 */ 32 Application installFromAppDir(String packedMuleAppFileName) throws IOException; 33 34 Application installFrom(URL url) throws IOException; 35 }