public class MuleServiceManager extends Object implements ServiceManager
| Constructor and Description |
|---|
MuleServiceManager(ServiceDiscoverer serviceDiscoverer)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStopService(org.mule.runtime.api.service.Service service) |
List<org.mule.runtime.api.service.Service> |
getServices() |
void |
start() |
void |
stop()
Stop all discovered services.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic MuleServiceManager(ServiceDiscoverer serviceDiscoverer)
serviceDiscoverer - container service discoverer. Non null.public void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionprotected void doStopService(org.mule.runtime.api.service.Service service)
public List<org.mule.runtime.api.service.Service> getServices()
getServices in interface org.mule.runtime.api.service.ServiceRepositoryCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.