Class ServerConfig

java.lang.Object
com.mulesoft.connectors.a2a.internal.server.ServerConfig
All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable

@Configuration(name="server") @ConnectionProviders(HttpServerConnectionProvider.class) @Sources({TaskListener.class,PushNotificationConfigListener.class,TaskStreamListener.class}) @Operations({ServerOperations.class,UpdateTaskStatusOperation.class,UpdateTaskArtifactOperation.class}) public class ServerConfig extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Startable
  • Constructor Details

    • ServerConfig

      public ServerConfig()
  • Method Details

    • getSpecAgentCard

      public io.a2a.spec.AgentCard getSpecAgentCard()
    • getTaskHistory

      public TaskHistoryParameterGroup getTaskHistory()
    • getAgentCardConfig

      public AgentCardParameterGroup getAgentCardConfig()
    • getConfigName

      public String getConfigName()
    • initialise

      public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Specified by:
      initialise in interface org.mule.runtime.api.lifecycle.Initialisable
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • start

      public void start() throws org.mule.runtime.api.exception.MuleException
      Specified by:
      start in interface org.mule.runtime.api.lifecycle.Startable
      Throws:
      org.mule.runtime.api.exception.MuleException
    • isMessageListenerRegistered

      public boolean isMessageListenerRegistered()
    • setMessageListenerRegistered

      public void setMessageListenerRegistered(boolean messageListenerRegistered)
    • setMessageListenerRegistered

      public void setMessageListenerRegistered(boolean messageListenerRegistered, String componentLocation)
    • getRegisteredMessageListenerLocation

      public String getRegisteredMessageListenerLocation()
    • isStreamingListenerRegistered

      public boolean isStreamingListenerRegistered()
    • setStreamingListenerRegistered

      public void setStreamingListenerRegistered(boolean streamingListenerRegistered)
    • setStreamingListenerRegistered

      public void setStreamingListenerRegistered(boolean streamingListenerRegistered, String componentLocation)
    • getRegisteredStreamingListenerLocation

      public String getRegisteredStreamingListenerLocation()
    • isPushConfigListenerRegistered

      public boolean isPushConfigListenerRegistered()
    • setPushConfigListenerRegistered

      public void setPushConfigListenerRegistered(boolean pushConfigListenerRegistered)
    • setPushConfigListenerRegistered

      public void setPushConfigListenerRegistered(boolean pushConfigListenerRegistered, String componentLocation)
    • getRegisteredPushConfigListenerLocation

      public String getRegisteredPushConfigListenerLocation()