Class DecoratorMarshaller<T>

All Implemented Interfaces:
Function<Object[],T>, org.infinispan.protostream.BaseMarshaller<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>, ProtoStreamMarshaller<T>, Readable<T>, Writable<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 Details

    • DecoratorMarshaller

      public DecoratorMarshaller(Class<T> decoratedClass, UnaryOperator<T> decorator, T sample)