Package io.quarkus.runtime
Interface ObjectSubstitution<F,T>
-
- Type Parameters:
F
- The non serializable classT
- The serializable class
- All Known Implementing Classes:
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description F
deserialize(T obj)
T
serialize(F obj)
-