Class RuntimeProtoSchemaGenerator
- java.lang.Object
-
- org.infinispan.protostream.annotations.impl.BaseProtoSchemaGenerator
-
- org.infinispan.protostream.annotations.impl.RuntimeProtoSchemaGenerator
-
public final class RuntimeProtoSchemaGenerator extends BaseProtoSchemaGenerator
This class is not to be directly invoked by users. SeeProtoSchemaBuilder
instead.- Since:
- 3.0
- Author:
- [email protected]
-
-
Field Summary
-
Fields inherited from class org.infinispan.protostream.annotations.impl.BaseProtoSchemaGenerator
autoImportClasses, classes, fileName, generateMarshallerDebugComments, generateSchemaDebugComments, generator, packageName, serializationContext, typeFactory
-
-
Constructor Summary
Constructors Constructor Description RuntimeProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProtoTypeMetadata
importProtoTypeMetadata(XClass javaType)
Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.protected AbstractMarshallerCodeGenerator
makeMarshallerCodeGenerator()
Creates a code generator for marshallers.-
Methods inherited from class org.infinispan.protostream.annotations.impl.BaseProtoSchemaGenerator
generateAndRegister, getAdapterFor, getMarshalledClasses, getTargetClass, isUnknownClass, makeEnumTypeMetadata, makeMessageTypeMetadata, makeTypeMetadata, scanAnnotations
-
-
-
-
Constructor Detail
-
RuntimeProtoSchemaGenerator
public RuntimeProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses, ClassLoader classLoader)
-
-
Method Detail
-
importProtoTypeMetadata
protected ProtoTypeMetadata importProtoTypeMetadata(XClass javaType)
Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.- Specified by:
importProtoTypeMetadata
in classBaseProtoSchemaGenerator
-
makeMarshallerCodeGenerator
protected AbstractMarshallerCodeGenerator makeMarshallerCodeGenerator()
Description copied from class:BaseProtoSchemaGenerator
Creates a code generator for marshallers.- Specified by:
makeMarshallerCodeGenerator
in classBaseProtoSchemaGenerator
-
-