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