Package xyz.block.ftl.runtime
Class CurrentTransaction
-
- All Implemented Interfaces:
@RequestScoped() public class CurrentTransaction
-
-
Constructor Summary
Constructors Constructor Description CurrentTransaction()
-
Method Summary
Modifier and Type Method Description StringgetId()voidsetId(String id)voidclear()static CurrentTransactioncurrent()static voidsetCurrentId(String id)static StringgetCurrentId()static voidclearCurrent()static voidsetCurrentIdFromMetadata(Metadata metadata)static MetadatagetMetadataWithCurrentId()-
-
Method Detail
-
clear
void clear()
-
current
static CurrentTransaction current()
-
setCurrentId
static void setCurrentId(String id)
-
getCurrentId
static String getCurrentId()
-
clearCurrent
static void clearCurrent()
-
setCurrentIdFromMetadata
static void setCurrentIdFromMetadata(Metadata metadata)
-
getMetadataWithCurrentId
static Metadata getMetadataWithCurrentId()
-
-
-
-