public class TemporaryArtifactConnectivityTestingService extends Object implements org.mule.runtime.api.connectivity.ConnectivityTestingService
ConnectivityTestingService for a temporary artifact.
This class will take care of the artifact initialization as part of the connection service invocation and deal with any thrown
exception by the startup of the artifact.| Modifier and Type | Class and Description |
|---|---|
static interface |
TemporaryArtifactConnectivityTestingService.ApplicationSupplier |
| Constructor and Description |
|---|
TemporaryArtifactConnectivityTestingService(TemporaryArtifactConnectivityTestingService.ApplicationSupplier applicationSupplier)
Creates a
DefaultConnectivityTestingService. |
| Modifier and Type | Method and Description |
|---|---|
void |
doWithoutFail(Runnable runnable) |
org.mule.runtime.api.connection.ConnectionValidationResult |
testConnection(org.mule.runtime.api.component.location.Location location) |
public TemporaryArtifactConnectivityTestingService(TemporaryArtifactConnectivityTestingService.ApplicationSupplier applicationSupplier)
DefaultConnectivityTestingService.applicationSupplier - supplier of the application that will be used to do connectivity testing.public org.mule.runtime.api.connection.ConnectionValidationResult testConnection(org.mule.runtime.api.component.location.Location location)
testConnection in interface org.mule.runtime.api.connectivity.ConnectivityTestingServiceorg.mule.runtime.api.exception.MuleRuntimeExceptionpublic void doWithoutFail(Runnable runnable)
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.