All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.GlobalContextInitializerImpl Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
/*
 Generated by org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor
 for class org.infinispan.commons.GlobalContextInitializer
 annotated with @org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(dependsOn={}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.commons.util.KeyValueWithPrevious.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.global.commons", schemaFilePath="proto/generated", schemaFileName="global.commons.proto", className="")
 */

package org.infinispan.commons;

/**
 * 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.util.KeyValueWithPrevious.class
})
/*@org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(
   className = "GlobalContextInitializerImpl",
   schemaFileName = "global.commons.proto",
   schemaFilePath = "proto/generated",
   schemaPackageName = "org.infinispan.global.commons",
   service = false,
   marshallersOnly = false,
   autoImportClasses = false,
   includeClasses = {
      org.infinispan.commons.util.KeyValueWithPrevious.class
   }
)*/
@SuppressWarnings("all")
public class GlobalContextInitializerImpl implements org.infinispan.commons.GlobalContextInitializer, org.infinispan.protostream.GeneratedSchema {

   @Override
   public String getProtoFileName() { return "global.commons.proto"; }
   
   @Override
   public String getProtoFile() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsString(getClass(), "/proto/generated/global.commons.proto"); }
   
   @Override
   public java.io.Reader getProtoFileReader() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsReader(getClass(), "/proto/generated/global.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.util.KeyValueWithPrevious$___Marshaller_9145896a24b67e12a03ab245b027743214e8f0a00cff4e94594e6701c8f07ff1());
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy