Class OpenTelemetryConnectionProvider
- java.lang.Object
-
- com.avioconsulting.mule.opentelemetry.internal.connection.OpenTelemetryConnectionProvider
-
- All Implemented Interfaces:
org.mule.runtime.api.connection.CachedConnectionProvider<Supplier<OpenTelemetryConnection>>,org.mule.runtime.api.connection.ConnectionProvider<Supplier<OpenTelemetryConnection>>
public class OpenTelemetryConnectionProvider extends Object implements org.mule.runtime.api.connection.CachedConnectionProvider<Supplier<OpenTelemetryConnection>>
-
-
Field Summary
Fields Modifier and Type Field Description static StringINSTRUMENTATION_NAMEstatic StringINSTRUMENTATION_VERSION
-
Constructor Summary
Constructors Constructor Description OpenTelemetryConnectionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<OpenTelemetryConnection>connect()voiddisconnect(Supplier<OpenTelemetryConnection> connection)org.mule.runtime.api.connection.ConnectionValidationResultvalidate(Supplier<OpenTelemetryConnection> connection)
-
-
-
Field Detail
-
INSTRUMENTATION_VERSION
public static final String INSTRUMENTATION_VERSION
- See Also:
- Constant Field Values
-
INSTRUMENTATION_NAME
public static final String INSTRUMENTATION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
connect
public Supplier<OpenTelemetryConnection> connect() throws org.mule.runtime.api.connection.ConnectionException
- Specified by:
connectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<Supplier<OpenTelemetryConnection>>- Throws:
org.mule.runtime.api.connection.ConnectionException
-
disconnect
public void disconnect(Supplier<OpenTelemetryConnection> connection)
- Specified by:
disconnectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<Supplier<OpenTelemetryConnection>>
-
validate
public org.mule.runtime.api.connection.ConnectionValidationResult validate(Supplier<OpenTelemetryConnection> connection)
- Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<Supplier<OpenTelemetryConnection>>
-
-