Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Annotation Interfaces
  • Fields
  • Methods
  • Annotation Interface Elements
  • Terminally Deprecated Elements
    Element
    Description
    org.infinispan.protostream.annotations.ProtoField.required()
    avoid using this
  • Deprecated Interfaces
    Interface
    Description
    org.infinispan.protostream.Message
    this mechanism was replaced by UnknownFieldSetHandler interface. This will be removed in 5.x
    org.infinispan.protostream.SerializationContext.MarshallerProvider
    Since 4.4. Replaced by the more flexible SerializationContext.InstanceMarshallerProvider. To be removed in 5.
    org.infinispan.protostream.UnknownFieldSetHandler
    since 4.3.1. This will be removed together with MessageMarshaller
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.infinispan.protostream.annotations.AutoProtoSchemaBuilder
    since 5.0. Use the ProtoSchema replacement instead.
  • Deprecated Fields
    Field
    Description
    org.infinispan.protostream.impl.TagReaderImpl.reader
    org.infinispan.protostream.impl.TagWriterImpl.writer
    org.infinispan.protostream.WrappedMessage.WRAPPED_DESCRIPTOR_FULL_NAME
    Use WrappedMessage.WRAPPED_TYPE_NAME instead. This will be removed in ver. 5.
    org.infinispan.protostream.WrappedMessage.WRAPPED_DESCRIPTOR_ID
    Use WrappedMessage.WRAPPED_TYPE_ID instead. This will be removed in ver. 5.
    org.infinispan.protostream.WrappedMessage.WRAPPED_DESCRIPTOR_TYPE_ID
    Use WrappedMessage.WRAPPED_TYPE_ID instead. This will be removed in ver. 5.
  • Deprecated Methods
    Method
    Description
    org.infinispan.protostream.annotations.AutoProtoSchemaBuilder.autoImportClasses()
    since 4.3.4. This will be removed in version 5. See IPROTO-158.
    org.infinispan.protostream.annotations.impl.types.XClass.asClass()
    org.infinispan.protostream.annotations.ProtoField.required()
    avoid using this
    org.infinispan.protostream.config.AnnotationAttributeConfiguration.Builder.parentBuilder()
    just call AnnotationAttributeConfiguration.Builder.annotation(String, AnnotationElement.AnnotationTarget...) directly
    org.infinispan.protostream.FileDescriptorSource.getFileDescriptors()
    This method was added for internal use and is deprecated since 4.3.4 to be removed in 5. Replaced by FileDescriptorSource.getFiles()
    org.infinispan.protostream.FileDescriptorSource.getResourceAsString(Class<?>, String)
    This method is strictly for internal use and has been deprecated in 4.3.4 to prevent use from external projects as it is subject for removal in 5.
    org.infinispan.protostream.ImmutableSerializationContext.getTypeIdByName(String)
    since 4.2.2, to be removed in 5, replaced by getDescriptorByName(fullTypeName).getTypeId()
    org.infinispan.protostream.ImmutableSerializationContext.getTypeNameById(Integer)
    since 4.2.2, to be removed in 5, replaced by getDescriptorByTypeId(typeId).getFullName()
    org.infinispan.protostream.impl.parser.SimpleCharStream.getColumn()
     
    org.infinispan.protostream.impl.parser.SimpleCharStream.getLine()
     
    org.infinispan.protostream.impl.SerializationContextImpl.getTypeIdByName(String)
    org.infinispan.protostream.impl.SerializationContextImpl.getTypeNameById(Integer)
    org.infinispan.protostream.impl.SerializationContextImpl.registerMarshallerProvider(SerializationContext.MarshallerProvider)
    org.infinispan.protostream.impl.SerializationContextImpl.unregisterMarshallerProvider(SerializationContext.MarshallerProvider)
    org.infinispan.protostream.impl.TagWriterImpl.newInstance(ImmutableSerializationContext, OutputStream, int)
    since 5.0.10 Please use TagWriterImpl.newInstance(ImmutableSerializationContext, OutputStream) with a BufferedOutputStream instead
    org.infinispan.protostream.impl.TagWriterImpl.newInstanceNoBuffer(ImmutableSerializationContext, OutputStream)
    since 5.0.10 Please use TagWriterImpl.newInstance(ImmutableSerializationContext, OutputStream)
    org.infinispan.protostream.ProtobufUtil.toWrappedStream(ImmutableSerializationContext, OutputStream, Object, int)
    since 5.0.10 Please use ProtobufUtil.toWrappedStream(ImmutableSerializationContext, OutputStream, Object) with a BufferedOutputStream instead
    org.infinispan.protostream.SerializationContext.registerMarshallerProvider(SerializationContext.MarshallerProvider)
    Since 4.4. Replaced by the more flexible SerializationContext.InstanceMarshallerProvider. To be removed in 5.
    org.infinispan.protostream.SerializationContext.unregisterMarshallerProvider(SerializationContext.MarshallerProvider)
    Since 4.4. Replaced by the more flexible SerializationContext.InstanceMarshallerProvider. To be removed in 5.
    org.infinispan.protostream.SerializationContextInitializer.getProtoFile()
    in 4.3.4, to be removed in 5. The method was moved and will continue to exist starting with ver. 5 as GeneratedSchema.getProtoFile(). See IPROTO-154.
    org.infinispan.protostream.SerializationContextInitializer.getProtoFileName()
    in 4.3.4, to be removed in 5. The method was moved and will continue to exist starting with ver. 5 as GeneratedSchema.getProtoFileName(). See IPROTO-154.
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.infinispan.protostream.annotations.AutoProtoSchemaBuilder.autoImportClasses()
    since 4.3.4. This will be removed in version 5. See IPROTO-158.
    org.infinispan.protostream.annotations.ProtoField.required()
    avoid using this