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 Summary
FieldsModifier and TypeFieldDescriptionprotected org.mule.runtime.api.component.location.ComponentLocationprotected ServerConfigprotected org.mule.runtime.api.connection.ConnectionProvider<ServerAgent>protected static final Stringprotected ServerAgentFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Stringfinal voidprotected RpcRequestContextrecoverRequestContext(org.mule.sdk.api.runtime.source.SourceCallbackContext context) protected voidstoreInContext(RpcRequestContext request, org.mule.sdk.api.runtime.source.SourceCallbackContext context) Methods inherited from class org.mule.sdk.api.runtime.source.Source
onStart, onStop
-
Field Details
-
REQUEST_CONTEXT_VAR
- See Also:
-
config
-
connectionProvider
@Connection protected org.mule.runtime.api.connection.ConnectionProvider<ServerAgent> connectionProvider -
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:
initialisein interfaceorg.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
-