Class BaseConnectionProvider
java.lang.Object
com.mulesoft.modules.agent.broker.internal.extension.connection.BaseConnectionProvider
- All Implemented Interfaces:
org.mule.runtime.api.connection.CachedConnectionProvider<LLMClient>,org.mule.runtime.api.connection.ConnectionProvider<LLMClient>,org.mule.runtime.api.lifecycle.Initialisable,org.mule.runtime.extension.api.connectivity.NoConnectivityTest,org.mule.sdk.api.connectivity.NoConnectivityTest
- Direct Known Subclasses:
GeminiConnectionProvider,OpenAIConnectionProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Loggerprotected org.mule.runtime.api.tls.TlsContextFactoryFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddisconnect(LLMClient connection) voidorg.mule.runtime.api.connection.ConnectionValidationResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mule.runtime.api.connection.ConnectionProvider
connect
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
tlsContextFactory
@Parameter @Optional @Expression(NOT_SUPPORTED) @Placement(tab="TLS") protected org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory
-
-
Constructor Details
-
BaseConnectionProvider
public BaseConnectionProvider()
-
-
Method Details
-
initialise
public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException- Specified by:
initialisein interfaceorg.mule.runtime.api.lifecycle.Initialisable- Throws:
org.mule.runtime.api.lifecycle.InitialisationException
-
disconnect
- Specified by:
disconnectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<LLMClient>
-
validate
- Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<LLMClient>
-