Class DecoratorMarshaller<T>
- java.lang.Object
-
- org.wildfly.clustering.marshalling.protostream.reflect.AbstractMemberMarshaller<T,M>
-
- org.wildfly.clustering.marshalling.protostream.reflect.UnaryMemberMarshaller<T,Field,F>
-
- org.wildfly.clustering.marshalling.protostream.reflect.UnaryFieldMarshaller<T,T>
-
- org.wildfly.clustering.marshalling.protostream.reflect.DecoratorMarshaller<T>
-
- All Implemented Interfaces:
Function<Object[],T>,org.infinispan.protostream.BaseMarshaller<T>,org.infinispan.protostream.ProtobufTagMarshaller<T>,Marshallable<T>,ProtoStreamMarshaller<T>
- Direct Known Subclasses:
SynchronizedDecoratorMarshaller
public class DecoratorMarshaller<T> extends UnaryFieldMarshaller<T,T>
Marshaller for a decorator that does not provide public access to its decorated object.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DecoratorMarshaller(Class<T> decoratedClass, UnaryOperator<T> decorator, T sample)
-
Method Summary
-
Methods inherited from class org.wildfly.clustering.marshalling.protostream.reflect.UnaryMemberMarshaller
apply
-
Methods inherited from class org.wildfly.clustering.marshalling.protostream.reflect.AbstractMemberMarshaller
getJavaClass, readFrom, writeTo
-
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
-
-
-
-
Constructor Detail
-
DecoratorMarshaller
public DecoratorMarshaller(Class<T> decoratedClass, UnaryOperator<T> decorator, T sample)
-
-