corda / net.corda.core.serialization / SerializeAsTokenContext

SerializeAsTokenContext

interface SerializeAsTokenContext

A context for mapping SerializationTokens to/from SerializeAsTokens.

Properties

serviceHub

abstract val serviceHub: ServiceHub

Functions

getSingleton

abstract fun getSingleton(className: String): SerializeAsToken

putSingleton

abstract fun putSingleton(toBeTokenized: SerializeAsToken): Unit

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.