public class DefaultConnectivityTestingService extends Object implements ConnectivityTestingService, org.mule.runtime.api.lifecycle.Initialisable
ConnectivityTestingService.
It searchs for the ConnectivityTestingStrategy instances registered in mule to find the possible strategies to do
connection testing over mule component instances
| Constructor and Description |
|---|
DefaultConnectivityTestingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise() |
protected void |
setMuleContext(MuleContext muleContext) |
protected void |
setServiceRegistry(ServiceRegistry serviceRegistry) |
org.mule.runtime.api.connection.ConnectionValidationResult |
testConnection(org.mule.runtime.api.component.location.Location location)
Does connection testing over the component registered under the provider identifier
|
protected void setMuleContext(MuleContext muleContext)
protected void setServiceRegistry(ServiceRegistry serviceRegistry)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.api.connection.ConnectionValidationResult testConnection(org.mule.runtime.api.component.location.Location location)
testConnection in interface ConnectivityTestingServicelocation - component identifier over the one connectivity testing is done.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.