io.quarkus.runtime.ObjectSubstitution Maven / Gradle / Ivy
The newest version!
package io.quarkus.runtime;
/**
* 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
*
* @param The non-serializable class
* @param The serializable class
*/
public interface ObjectSubstitution {
T serialize(F obj);
F deserialize(T obj);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy