SingletonSerializationToken
Keywords: net.corda.core.serialization.SingletonSerializationToken class
Date: 2023-09-18

net.corda.core.serialization

## Class SingletonSerializationToken

- net.corda.core.serialization.SingletonSerializationToken

- All Implemented Interfaces:
    SerializationToken

      public class SingletonSerializationToken
      implements SerializationToken

  A class representing a `interface SerializationToken` for some object that is not serializable but can be looked up (when deserialized) via just the class name.

  See Also:
    `interface SerializationToken`

- - ### Field Detail

    - #### Companion

          public static net.corda.core.serialization.SingletonSerializationToken.Companion Companion

  - ### Method Detail

    - #### fromToken

          @NotNull
          public SerializeAsToken fromToken(@NotNull
                                                     SerializeAsTokenContext context)

    - #### registerWithContext

          @NotNull
          public SingletonSerializationToken registerWithContext(@NotNull
                                                                          SerializeAsTokenContext context,
                                                                          @NotNull
                                                                          SerializeAsToken toBeTokenized)