public class LazyConnectivityTestingService extends Object implements org.mule.runtime.api.connectivity.ConnectivityTestingService, org.mule.runtime.api.lifecycle.Initialisable
ConnectivityTestingService implementation that initialises the required components before doing test connectivity.
This guarantees that if the application has been created lazily, the requested components exists before the execution of the
actual ConnectivityTestingService.| Modifier and Type | Field and Description |
|---|---|
static String |
NON_LAZY_CONNECTIVITY_TESTING_SERVICE |
| Constructor and Description |
|---|
LazyConnectivityTestingService(LazyComponentInitializer lazyComponentInitializer,
Supplier<org.mule.runtime.api.connectivity.ConnectivityTestingService> connectivityTestingServiceSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise() |
org.mule.runtime.api.connection.ConnectionValidationResult |
testConnection(org.mule.runtime.api.component.location.Location location) |
public static final String NON_LAZY_CONNECTIVITY_TESTING_SERVICE
public LazyConnectivityTestingService(LazyComponentInitializer lazyComponentInitializer, Supplier<org.mule.runtime.api.connectivity.ConnectivityTestingService> connectivityTestingServiceSupplier)
public org.mule.runtime.api.connection.ConnectionValidationResult testConnection(org.mule.runtime.api.component.location.Location location)
testConnection in interface org.mule.runtime.api.connectivity.ConnectivityTestingServicepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.