org.mule.module.launcher
Interface DeploymentService

All Superinterfaces:
DeploymentListenerManager
All Known Implementing Classes:
MuleDeploymentService

public interface DeploymentService
extends DeploymentListenerManager

Manages deploy of mule applications


Method Summary
 void addStartupListener(StartupListener listener)
           
 void deploy(URL appArchiveUrl)
           
 Application findApplication(String appName)
          Finds an active application by name.
 List<Application> getApplications()
          Lists all deployed applications.
 ReentrantLock getLock()
          Obtains the object used to synchronize the service.
 void removeStartupListener(StartupListener listener)
           
 void start()
           
 void stop()
           
 void undeploy(String appName)
           
 
Methods inherited from interface org.mule.module.launcher.DeploymentListenerManager
addDeploymentListener, removeDeploymentListener
 

Method Detail

findApplication

Application findApplication(String appName)
Finds an active application by name.

Returns:
null if not found

getApplications

List<Application> getApplications()
Lists all deployed applications.

Returns:
immutable applications list

addStartupListener

void addStartupListener(StartupListener listener)

removeStartupListener

void removeStartupListener(StartupListener listener)

getLock

ReentrantLock getLock()
Obtains the object used to synchronize the service.

Returns:
a non null lock object.

undeploy

void undeploy(String appName)

deploy

void deploy(URL appArchiveUrl)
            throws IOException
Throws:
IOException

start

void start()

stop

void stop()


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