Class AnyScalarMarshaller<T>

java.lang.Object
org.wildfly.clustering.spring.security.AnyScalarMarshaller<T>
Type Parameters:
T - marshalling target type
All Implemented Interfaces:
org.wildfly.clustering.marshalling.protostream.Marshallable<T>, org.wildfly.clustering.marshalling.protostream.Readable<T>, org.wildfly.clustering.marshalling.protostream.ScalarMarshaller<T>, org.wildfly.clustering.marshalling.protostream.Writable<T>

public class AnyScalarMarshaller<T> extends Object implements org.wildfly.clustering.marshalling.protostream.ScalarMarshaller<T>
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnyScalarMarshaller(Class<T> targetClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends T>
     
    org.infinispan.protostream.descriptors.WireType
     
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader)
     
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, T value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ScalarMarshaller

    toMarshaller, toMarshaller, toMarshaller, toMarshaller, toMarshaller, toMarshaller
  • Constructor Details

    • AnyScalarMarshaller

      public AnyScalarMarshaller(Class<T> targetClass)
  • Method Details

    • readFrom

      public T readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.Readable<T>
      Throws:
      IOException
    • writeTo

      public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, T value) throws IOException
      Specified by:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<T>
      Throws:
      IOException
    • getJavaClass

      public Class<? extends T> getJavaClass()
      Specified by:
      getJavaClass in interface org.wildfly.clustering.marshalling.protostream.Marshallable<T>
    • getWireType

      public org.infinispan.protostream.descriptors.WireType getWireType()
      Specified by:
      getWireType in interface org.wildfly.clustering.marshalling.protostream.ScalarMarshaller<T>