org.infinispan.commons.marshall.PersistenceContextInitializerImpl Maven / Gradle / Ivy
/*
Generated by org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor
for class org.infinispan.commons.marshall.PersistenceContextInitializer
annotated with @org.infinispan.protostream.annotations.ProtoSchema(allowNullFields=false, syntax=PROTO2, dependsOn={}, marshallersOnly=false, service=false, excludeClasses={}, includeClasses={org.infinispan.commons.dataconversion.MediaType.class, org.infinispan.commons.marshall.WrappedByteArray.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.commons", schemaFilePath="proto/generated", schemaFileName="persistence.commons.proto", className="")
*/
package org.infinispan.commons.marshall;
/**
* WARNING: Generated code! Do not edit!
*/
@javax.annotation.processing.Generated(
value = "org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor",
comments = "Please do not edit this file!"
)
@org.infinispan.protostream.annotations.impl.processor.OriginatingClasses({
org.infinispan.commons.dataconversion.MediaType.class,
org.infinispan.commons.marshall.WrappedByteArray.class
})
/*@@org.infinispan.protostream.annotations.ProtoSchema(allowNullFields=false, syntax=PROTO2, dependsOn={}, marshallersOnly=false, service=false, excludeClasses={}, includeClasses={org.infinispan.commons.dataconversion.MediaType.class, org.infinispan.commons.marshall.WrappedByteArray.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.commons", schemaFilePath="proto/generated", schemaFileName="persistence.commons.proto", className="")(
className = "PersistenceContextInitializerImpl",
schemaFileName = "persistence.commons.proto",
schemaFilePath = "proto/generated",
schemaPackageName = "org.infinispan.persistence.commons",
service = false,
marshallersOnly = false,
autoImportClasses = false,
includeClasses = {
org.infinispan.commons.dataconversion.MediaType.class,
org.infinispan.commons.marshall.WrappedByteArray.class
}
)*/
@SuppressWarnings("all")
public class PersistenceContextInitializerImpl implements org.infinispan.commons.marshall.PersistenceContextInitializer, org.infinispan.protostream.GeneratedSchema {
@Override
public String getProtoFileName() { return "persistence.commons.proto"; }
@Override
public String getProtoFile() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsString(getClass(), "/proto/generated/persistence.commons.proto"); }
@Override
public java.io.Reader getProtoFileReader() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsReader(getClass(), "/proto/generated/persistence.commons.proto"); }
@Override
public void registerSchema(org.infinispan.protostream.SerializationContext serCtx) {
serCtx.registerProtoFiles(org.infinispan.protostream.FileDescriptorSource.fromString(getProtoFileName(), getProtoFile()));
}
@Override
public void registerMarshallers(org.infinispan.protostream.SerializationContext serCtx) {
serCtx.registerMarshaller(new org.infinispan.commons.dataconversion.MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568());
serCtx.registerMarshaller(new org.infinispan.commons.marshall.WrappedByteArray$___Marshaller_dd5f1f82b70f419159a02b94c2ffa39a035efa36bc3f94e3bec8f1fb78d5e078());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy