org.mule.module.launcher
Class DefaultMuleDeployer

java.lang.Object
  extended by org.mule.module.launcher.DefaultMuleDeployer
All Implemented Interfaces:
MuleDeployer

public class DefaultMuleDeployer
extends Object
implements MuleDeployer


Field Summary
protected  ApplicationFactory applicationFactory
           
protected  Log logger
           
 
Constructor Summary
DefaultMuleDeployer()
           
 
Method Summary
 void deploy(Application app)
           
 Application installFrom(URL url)
           
 Application installFromAppDir(String packedMuleAppFileName)
          Installs packaged Mule apps from $MULE_HOME/apps directory.
 void setApplicationFactory(ApplicationFactory applicationFactory)
           
 void undeploy(Application app)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient Log logger

applicationFactory

protected ApplicationFactory applicationFactory
Constructor Detail

DefaultMuleDeployer

public DefaultMuleDeployer()
Method Detail

setApplicationFactory

public void setApplicationFactory(ApplicationFactory applicationFactory)

deploy

public void deploy(Application app)
Specified by:
deploy in interface MuleDeployer

undeploy

public void undeploy(Application app)
Specified by:
undeploy in interface MuleDeployer

installFromAppDir

public Application installFromAppDir(String packedMuleAppFileName)
                              throws IOException
Description copied from interface: MuleDeployer
Installs packaged Mule apps from $MULE_HOME/apps directory.

Specified by:
installFromAppDir in interface MuleDeployer
Parameters:
packedMuleAppFileName - filename of the packed Mule app (only name + ext)
Throws:
IOException

installFrom

public Application installFrom(URL url)
                        throws IOException
Specified by:
installFrom in interface MuleDeployer
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.