Package io.temporal.internal.async.spi
Interface MethodReferenceDisassemblyService
-
public interface MethodReferenceDisassemblyService
Provides language specific functionality to disassemble method references that could be passed from different languages into temporal code and extract target from them, which is required for correct working ofAsync
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KOTLIN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLanguageName()
java.lang.Object
getMethodReferenceTarget(java.lang.Object methodReference)
-
-
-
Field Detail
-
KOTLIN
static final java.lang.String KOTLIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMethodReferenceTarget
@Nullable java.lang.Object getMethodReferenceTarget(@Nonnull java.lang.Object methodReference)
- Parameters:
methodReference
- method reference to extract target from- Returns:
- target of the method reference
methodReference
, null if methodReference is not recognized by implementation as a method reference (means that it's general purpose lambda)
-
getLanguageName
java.lang.String getLanguageName()
- Returns:
- language this service provides an extension or implementation for
-
-