public interface SerializationContextInitializer
AutoProtoSchemaBuilder
annotation. Just create an abstract class implementing this interface or an interface extending it and annotate it
and the compiler (via a custom annotation processor) will generate a concrete implementation of it for you to use.
This is a compile-time equivalent of ProtoSchemaBuilder
.Modifier and Type | Method and Description |
---|---|
String |
getProtoFile() |
String |
getProtoFileName() |
void |
registerMarshallers(SerializationContext serCtx) |
void |
registerSchema(SerializationContext serCtx) |
String getProtoFileName()
String getProtoFile()
void registerSchema(SerializationContext serCtx) throws IOException
IOException
void registerMarshallers(SerializationContext serCtx)
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.