org.infinispan.persistence.redis.PersistenceContextInitializerImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-cachestore-redis
Show all versions of infinispan-cachestore-redis
Infinispan CacheStore using Redis
The newest version!
/*
Generated by org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor
for class org.infinispan.persistence.redis.PersistenceContextInitializer
annotated with @org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=proto2, dependsOn={}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.persistence.redis.configuration.RedisStoreConfiguration.Compressor.class, org.infinispan.persistence.redis.RedisStore.Entry.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.redis", schemaFilePath="proto/generated", schemaFileName="persistence.redis.proto", className="")
*/
package org.infinispan.persistence.redis;
/**
* 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.persistence.redis.RedisStore.Entry.class,
org.infinispan.persistence.redis.configuration.RedisStoreConfiguration.Compressor.class
})
/*@@org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=proto2, dependsOn={}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.persistence.redis.configuration.RedisStoreConfiguration.Compressor.class, org.infinispan.persistence.redis.RedisStore.Entry.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.redis", schemaFilePath="proto/generated", schemaFileName="persistence.redis.proto", className="")(
className = "PersistenceContextInitializerImpl",
schemaFileName = "persistence.redis.proto",
schemaFilePath = "proto/generated",
schemaPackageName = "org.infinispan.persistence.redis",
service = false,
marshallersOnly = false,
autoImportClasses = false,
includeClasses = {
org.infinispan.persistence.redis.RedisStore.Entry.class,
org.infinispan.persistence.redis.configuration.RedisStoreConfiguration.Compressor.class
}
)*/
@SuppressWarnings("all")
public class PersistenceContextInitializerImpl implements org.infinispan.persistence.redis.PersistenceContextInitializer, org.infinispan.protostream.GeneratedSchema {
@Override
public String getProtoFileName() { return "persistence.redis.proto"; }
@Override
public String getProtoFile() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsString(getClass(), "/proto/generated/persistence.redis.proto"); }
@Override
public java.io.Reader getProtoFileReader() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsReader(getClass(), "/proto/generated/persistence.redis.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.persistence.redis.Entry$___Marshaller_72a8a7a5708d119e7da30184a73b6a8beb1ee9ae8fc85d340245ca13371199b0());
serCtx.registerMarshaller(new org.infinispan.persistence.redis.configuration.Compressor$___Marshaller_b49ad8aa3df21ca2b1ad1e9cc8d627deb4c5b231674d03c4817fd130422f579());
}
}