Class ClientConfig
java.lang.Object
com.mulesoft.connectors.mcp.internal.client.ClientConfig
- All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Disposable,org.mule.runtime.api.lifecycle.Initialisable
@Configuration(name="client")
@ConnectionProviders({StreamableHttpClientConnectionProvider.class,SseClientConnectionProvider.class})
@Operations({ClientToolOperations.class,ClientResourceOperations.class,ClientProtocolOperations.class})
public class ClientConfig
extends Object
implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
Configuration element to act as a client that connects to an MCP server
- Since:
- 0.1.0
-
Field Summary
Fields inherited from interface org.mule.runtime.api.lifecycle.Disposable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClientConfig
public ClientConfig()
-
-
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
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.mule.runtime.api.lifecycle.Disposable
-
getClientName
-
getClientVersion
-
getRefName
-