public interface DeploymentService extends DeploymentListenerManager, DomainDeploymentListenerManager
Modifier and Type | Method and Description |
---|---|
void |
addStartupListener(StartupListener listener) |
void |
deploy(URL appArchiveUrl)
Deploys and application bundled as a zip from the given URL to the mule container
|
void |
deployDomain(URL domainArchiveUrl)
Deploys a domain bundled as a zip from the given URL to the mule container
|
Application |
findApplication(String appName)
Finds an active application by name.
|
Domain |
findDomain(String domainName) |
Collection<Application> |
findDomainApplications(String domain) |
List<Application> |
getApplications()
Lists all applications that are deployed, starting or failed to start
|
List<Domain> |
getDomains() |
ReentrantLock |
getLock()
Obtains the object used to synchronize the service.
|
void |
redeploy(String artifactName)
Undeploys and redeploys an application
|
void |
redeployDomain(String domainName)
Undeploys and redeploys a domain
|
void |
removeStartupListener(StartupListener listener) |
void |
start() |
void |
stop() |
void |
undeploy(String appName)
Undeploys an application from the mule container
|
void |
undeployDomain(String domainName)
Undeploys a domain from the mule container
|
addDeploymentListener, removeDeploymentListener
addDomainDeploymentListener, removeDomainDeploymentListener
Application findApplication(String appName)
List<Application> getApplications()
Domain findDomain(String domainName)
domainName
- name of the domainCollection<Application> findDomainApplications(String domain)
domain
- name of a deployed domainvoid addStartupListener(StartupListener listener)
void removeStartupListener(StartupListener listener)
ReentrantLock getLock()
void undeploy(String appName)
appName
- name of the application to undeployvoid deploy(URL appArchiveUrl) throws IOException
appArchiveUrl
- location of the zip application fileIOException
void redeploy(String artifactName)
artifactName
- then name of the application to redeployvoid undeployDomain(String domainName)
domainName
- name of the domain to undeployvoid deployDomain(URL domainArchiveUrl) throws IOException
domainArchiveUrl
- location of the zip domain fileIOException
void redeployDomain(String domainName)
domainName
- then name of the domain to redeployvoid start()
void stop()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.