Class AnnotatedTypeMarshaller<X,T extends org.jboss.weld.annotated.slim.SlimAnnotatedType<X>>
- java.lang.Object
-
- org.wildfly.clustering.weld.annotated.slim.AnnotatedTypeMarshaller<X,T>
-
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<T>,org.infinispan.protostream.ProtobufTagMarshaller<T>,Marshallable<T>,ProtoStreamMarshaller<T>
- Direct Known Subclasses:
BackedAnnotatedTypeMarshaller
public class AnnotatedTypeMarshaller<X,T extends org.jboss.weld.annotated.slim.SlimAnnotatedType<X>> extends Object implements ProtoStreamMarshaller<T>
Generic marshaller for aSlimAnnotatedType.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description AnnotatedTypeMarshaller(Class<T> targetClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TgetAnnotatedType(org.jboss.weld.annotated.slim.AnnotatedTypeIdentifier identifier, org.jboss.weld.manager.BeanManagerImpl manager)Class<? extends T>getJavaClass()TreadFrom(ProtoStreamReader reader)voidwriteTo(ProtoStreamWriter writer, T type)-
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<? extends T> getJavaClass()
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<X>- Specified by:
getJavaClassin interfaceMarshallable<X>
-
readFrom
public T readFrom(ProtoStreamReader reader) throws IOException
- Specified by:
readFromin interfaceMarshallable<X>- Throws:
IOException
-
getAnnotatedType
protected T getAnnotatedType(org.jboss.weld.annotated.slim.AnnotatedTypeIdentifier identifier, org.jboss.weld.manager.BeanManagerImpl manager)
-
writeTo
public void writeTo(ProtoStreamWriter writer, T type) throws IOException
- Specified by:
writeToin interfaceMarshallable<X>- Throws:
IOException
-
-