Class AnnotatedFieldMarshaller<X,T extends org.jboss.weld.annotated.slim.SlimAnnotatedType<X>,F extends jakarta.enterprise.inject.spi.AnnotatedField<X>>
- java.lang.Object
-
- org.wildfly.clustering.weld.annotated.slim.AnnotatedFieldMarshaller<X,T,F>
-
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<F>,org.infinispan.protostream.ProtobufTagMarshaller<F>,Marshallable<F>,ProtoStreamMarshaller<F>
public class AnnotatedFieldMarshaller<X,T extends org.jboss.weld.annotated.slim.SlimAnnotatedType<X>,F extends jakarta.enterprise.inject.spi.AnnotatedField<X>> extends Object implements ProtoStreamMarshaller<F>
Generic marshaller for anAnnotatedField.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description AnnotatedFieldMarshaller(Class<F> targetClass, Class<T> typeClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<F>getJavaClass()FreadFrom(ProtoStreamReader reader)voidwriteTo(ProtoStreamWriter writer, F field)-
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.ProtoStreamMarshaller
getTypeName, read, write
-
-
-
-
Method Detail
-
getJavaClass
public Class<F> getJavaClass()
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<X>- Specified by:
getJavaClassin interfaceMarshallable<X>
-
readFrom
public F readFrom(ProtoStreamReader reader) throws IOException
- Specified by:
readFromin interfaceMarshallable<X>- Throws:
IOException
-
writeTo
public void writeTo(ProtoStreamWriter writer, F field) throws IOException
- Specified by:
writeToin interfaceMarshallable<X>- Throws:
IOException
-
-