T - the generic type of the output valueA - the generic type of the message attributespublic class SdkSourceAdapter<T,A> extends org.mule.sdk.api.runtime.source.Source<T,A> implements LegacySourceWrapper, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
Source into a Source| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
static <T,A> org.mule.sdk.api.runtime.source.Source<T,A> |
from(org.mule.runtime.extension.api.runtime.source.Source<T,A> delegate) |
org.mule.runtime.extension.api.runtime.source.Source |
getDelegate()
This method provide the instance of the legacy
Source in with this implementation is delegating behavior. |
void |
initialise() |
void |
onStart(org.mule.sdk.api.runtime.source.SourceCallback<T,A> sourceCallback) |
void |
onStop() |
public static <T,A> org.mule.sdk.api.runtime.source.Source<T,A> from(org.mule.runtime.extension.api.runtime.source.Source<T,A> delegate)
public void onStart(org.mule.sdk.api.runtime.source.SourceCallback<T,A> sourceCallback) throws org.mule.runtime.api.exception.MuleException
public void onStop()
public org.mule.runtime.extension.api.runtime.source.Source getDelegate()
LegacySourceWrapperSource in with this implementation is delegating behavior.getDelegate in interface LegacySourceWrapperSource instance.public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.