org.mule.module.launcher
Class MuleDeploymentService
java.lang.Object
org.mule.module.launcher.MuleDeploymentService
- All Implemented Interfaces:
- DeploymentListenerManager, DeploymentService, DomainDeploymentListenerManager
public class MuleDeploymentService
- extends Object
- implements DeploymentService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARTIFACT_ANCHOR_SUFFIX
public static final String ARTIFACT_ANCHOR_SUFFIX
- See Also:
- Constant Field Values
ZIP_ARTIFACT_FILTER
public static final org.apache.commons.io.filefilter.IOFileFilter ZIP_ARTIFACT_FILTER
logger
protected final transient org.apache.commons.logging.Log logger
MuleDeploymentService
public MuleDeploymentService(PluginClassLoaderManager pluginClassLoaderManager)
start
public void start()
- Specified by:
start in interface DeploymentService
stop
public void stop()
- Specified by:
stop in interface DeploymentService
findDomain
public Domain findDomain(String domainName)
- Specified by:
findDomain in interface DeploymentService
- Parameters:
domainName - name of the domain
- Returns:
- the domain with the name domainName, null if there is no domain with domainName
findApplication
public Application findApplication(String appName)
- Description copied from interface:
DeploymentService
- Finds an active application by name.
- Specified by:
findApplication in interface DeploymentService
- Returns:
- null if not found
findDomainApplications
public Collection<Application> findDomainApplications(String domain)
- Specified by:
findDomainApplications in interface DeploymentService
- Parameters:
domain - name of a deployed domain
- Returns:
- all the applications deployed in that domain
getApplications
public List<Application> getApplications()
- Description copied from interface:
DeploymentService
- Lists all deployed applications.
- Specified by:
getApplications in interface DeploymentService
- Returns:
- immutable applications list
getDomains
public List<Domain> getDomains()
- Specified by:
getDomains in interface DeploymentService
- Returns:
- list of domains deployed in mule.
setAppFactory
public void setAppFactory(ApplicationFactory appFactory)
getLock
public ReentrantLock getLock()
- Description copied from interface:
DeploymentService
- Obtains the object used to synchronize the service.
- Specified by:
getLock in interface DeploymentService
- Returns:
- a non null lock object.
undeploy
public void undeploy(String appName)
- Specified by:
undeploy in interface DeploymentService
deploy
public void deploy(URL appArchiveUrl)
throws IOException
- Specified by:
deploy in interface DeploymentService
- Throws:
IOException
redeploy
public void redeploy(String artifactName)
- Specified by:
redeploy in interface DeploymentService
addStartupListener
public void addStartupListener(StartupListener listener)
- Specified by:
addStartupListener in interface DeploymentService
removeStartupListener
public void removeStartupListener(StartupListener listener)
- Specified by:
removeStartupListener in interface DeploymentService
addDeploymentListener
public void addDeploymentListener(DeploymentListener listener)
- Specified by:
addDeploymentListener in interface DeploymentListenerManager
removeDeploymentListener
public void removeDeploymentListener(DeploymentListener listener)
- Specified by:
removeDeploymentListener in interface DeploymentListenerManager
addDomainDeploymentListener
public void addDomainDeploymentListener(DeploymentListener listener)
- Specified by:
addDomainDeploymentListener in interface DomainDeploymentListenerManager
removeDomainDeploymentListener
public void removeDomainDeploymentListener(DeploymentListener listener)
- Specified by:
removeDomainDeploymentListener in interface DomainDeploymentListenerManager
setDomainFactory
public void setDomainFactory(DomainFactory domainFactory)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.