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

org.infinispan.commons.marshall.UserContextInitializerImpl 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.marshall.UserContextInitializer
 annotated with @org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=PROTO2, dependsOn={}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.commons.util.NullValue.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.commons", schemaFilePath="proto/generated", schemaFileName="user.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.util.NullValue.class
})
/*@@org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=PROTO2, dependsOn={}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.commons.util.NullValue.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.commons", schemaFilePath="proto/generated", schemaFileName="user.commons.proto", className="")(
   className = "UserContextInitializerImpl",
   schemaFileName = "user.commons.proto",
   schemaFilePath = "proto/generated",
   schemaPackageName = "org.infinispan.commons",
   service = false,
   marshallersOnly = false,
   autoImportClasses = false,
   includeClasses = {
      org.infinispan.commons.util.NullValue.class
   }
)*/
@SuppressWarnings("all")
public class UserContextInitializerImpl implements org.infinispan.commons.marshall.UserContextInitializer, org.infinispan.protostream.GeneratedSchema {

   @Override
public String getProtoFileName() { return "user.commons.proto"; }

   @Override
public String getProtoFile() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsString(getClass(), "/proto/generated/user.commons.proto"); }

   @Override
public java.io.Reader getProtoFileReader() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsReader(getClass(), "/proto/generated/user.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.NullValue$___Marshaller_a83283d4dbbe8b8520f457699d99f19344b973d04786829de1e22c08915e6e56());
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy