@NoImplement public interface DeploymentService extends DeploymentListenerManager, DomainDeploymentListenerManager, DomainBundleDeploymentListenerManager
| 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 artifact from the given URL to the mule container
|
void |
deployDomain(URI domainArchiveUri,
Properties deploymentProperties)
Deploys a domain bundled as a zip from the given URL to the mule container
|
void |
deployDomainBundle(URI domainArchiveUri)
Deploys a domain bundle 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 |
redeploy(URI archiveUri)
Undeploys and redeploys an application using a new artifact URI.
|
void |
redeploy(URI archiveUri,
Properties appProperties)
Undeploys and redeploys an application using a new artifact URI and including the provided appProperties.
|
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, removeDeploymentListeneraddDomainDeploymentListener, removeDomainDeploymentListeneraddDomainBundleDeploymentListener, removeDomainBundleDeploymentListenerApplication 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 redeployappProperties - map of properties to includevoid redeploy(URI archiveUri, Properties appProperties) throws IOException
archiveUri - location of the application fileappProperties - map of properties to includeIOExceptionvoid redeploy(URI archiveUri) throws IOException
archiveUri - location of the application fileIOExceptionvoid undeployDomain(String domainName)
domainName - name of the domain to undeployvoid deployDomain(URI domainArchiveUri) throws IOException
domainArchiveUri - location of the domain fileIOExceptionvoid deployDomain(URI domainArchiveUri, Properties deploymentProperties) throws IOException
domainArchiveUri - location of the zip domain file.deploymentProperties - the properties to override during the deployment process.IOExceptionvoid redeployDomain(String domainName, Properties deploymentProperties)
domainName - then name of the domain to redeploy.deploymentProperties - the properties to override during the deployment process.void redeployDomain(String domainName)
domainName - then name of the domain to redeployvoid deployDomainBundle(URI domainArchiveUri) throws IOException
domainArchiveUri - location of the ZIP domain fileIOException - if there is any problem reading the filevoid start()
void stop()
Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.