Interface ObjectSubstitution<F,T>

Type Parameters:
F - The non-serializable class
T - The serializable class
All Known Implementing Classes:
InheritableLevel.Substitution, QuarkusConfigValue.Substitution, ZoneIdSubstitution

public interface ObjectSubstitution<F,T>
An interface that can be used to substitute a non-bytecode serializable class with a replacement. Instances of this interface must be public, and have a public default constructor, as they will be instantiated directly via generated bytecode
  • Method Summary

    Modifier and Type
    Method
    Description
     
    serialize(F obj)
     
  • Method Details

    • serialize

      T serialize(F obj)
    • deserialize

      F deserialize(T obj)