public interface DeploymentService extends DeploymentListenerManager, DomainDeploymentListenerManager
| Modifier and Type | Method and Description |
|---|---|
void |
addStartupListener(StartupListener listener) |
void |
deploy(URI appArchiveUri)
Deploys an application bundled as a zip from the given URL to the mule container
|
void |
deploy(URI appArchiveUri,
Properties appProperties)
Deploys an application bundled as a zip from the given URL to the mule container and applies the provided properties.
|
void |
deployDomain(URI domainArchiveUri)
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 appProperties)
Undeploys and redeploys an application including the provided appProperties.
|
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, removeDeploymentListeneraddDomainDeploymentListener, removeDomainDeploymentListenerApplication 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(URI appArchiveUri) throws IOException
appArchiveUri - location of the zip application fileIOExceptionvoid deploy(URI appArchiveUri, Properties appProperties) throws IOException
appArchiveUri - appProperties - IOExceptionvoid redeploy(String artifactName)
artifactName - then name of the application to redeployvoid redeploy(String artifactName, Properties appProperties)
artifactName - then name of the application to redeployvoid undeployDomain(String domainName)
domainName - name of the domain to undeployvoid deployDomain(URI domainArchiveUri) throws IOException
domainArchiveUri - location of the zip domain fileIOExceptionvoid redeployDomain(String domainName)
domainName - then name of the domain to redeployvoid start()
void stop()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.