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 |
deploy(URL appArchiveUrl,
Properties appProperties)
Deploys an applications bundled as a zip from a given URL and sets the provided appProperties.
|
void |
deployDomain(URL domainArchiveUrl)
Deploys a domain bundled as a zip from the given URL to the mule container
|
void |
deployDomain(URL domainArchiveUrl,
Properties appProperties)
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 |
redeploy(String artifactName,
Properties deploymentProperties)
Undeploys and redeploys an application with the properties provided.
|
void |
redeployDomain(String domainName)
Undeploys and redeploys a domain
|
void |
redeployDomain(String domainName,
Properties deploymentProperties)
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, Properties deploymentProperties)
artifactName
- then name of the application to redeploydeploymentProperties
- the properties to overridevoid deploy(URL appArchiveUrl, Properties appProperties) throws IOException
appArchiveUrl
- appProperties
- IOException
void redeploy(String artifactName)
artifactName
- then name of the application to redeployIOException
void undeployDomain(String domainName)
domainName
- name of the domain to undeployvoid deployDomain(URL domainArchiveUrl) throws IOException
domainArchiveUrl
- location of the zip domain fileIOException
void deployDomain(URL domainArchiveUrl, Properties appProperties) throws IOException
domainArchiveUrl
- location of the zip domain fileappProperties
- the properties to overrideIOException
void redeployDomain(String domainName)
domainName
- then name of the domain to redeployvoid redeployDomain(String domainName, Properties deploymentProperties)
domainName
- then name of the domain to redeploydeploymentProperties
- the properties to overridevoid start()
void stop()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.