Class BaseServerListener<T,A>

java.lang.Object
org.mule.sdk.api.runtime.source.Source<T,A>
com.mulesoft.connectors.a2a.internal.server.listener.BaseServerListener<T,A>
All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Initialisable
Direct Known Subclasses:
PushNotificationConfigListener, TaskListener

public abstract class BaseServerListener<T,A> extends org.mule.sdk.api.runtime.source.Source<T,A> implements org.mule.runtime.api.lifecycle.Initialisable
  • Field Details

    • REQUEST_CONTEXT_VAR

      protected static final String REQUEST_CONTEXT_VAR
      See Also:
    • config

      @Config protected ServerConfig config
    • connectionProvider

      @Connection protected org.mule.runtime.api.connection.ConnectionProvider<ServerAgent> connectionProvider
    • serverAgent

      protected ServerAgent serverAgent
    • componentLocation

      protected org.mule.runtime.api.component.location.ComponentLocation componentLocation
  • Constructor Details

    • BaseServerListener

      public BaseServerListener()
  • Method Details

    • initialise

      public final 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
    • doInitialise

      protected void doInitialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • storeInContext

      protected void storeInContext(RpcRequestContext request, org.mule.sdk.api.runtime.source.SourceCallbackContext context)
    • recoverRequestContext

      protected RpcRequestContext recoverRequestContext(org.mule.sdk.api.runtime.source.SourceCallbackContext context)
    • getDslTag

      protected String getDslTag()