public class TransactionIdContext extends AbstractContext
TransactionId.data| Constructor and Description |
|---|
TransactionIdContext(Context parent,
TransactionId transactionId)
Constructs a new TransactionIdContext.
|
TransactionIdContext(JsonValue savedContext,
ClassLoader classLoader)
Restores a saved context.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionId |
getTransactionId()
Returns the transaction id.
|
JsonValue |
toJsonValue()
Updates the data object to have the current transactionId state.
|
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, isRootContext, toStringpublic TransactionIdContext(Context parent, TransactionId transactionId)
parent - The parent contexttransactionId - The transaction id to use in this contextpublic TransactionIdContext(JsonValue savedContext, ClassLoader classLoader)
savedContext - The saved state.classLoader - The ClassLoader to use.public TransactionId getTransactionId()
public JsonValue toJsonValue()
toJsonValue in interface ContexttoJsonValue in class AbstractContextCopyright © 2025 Open Identity Platform Community. All rights reserved.