Class ProtobufObjectReflectionMatcher

  • All Implemented Interfaces:
    Matcher

    public final class ProtobufObjectReflectionMatcher
    extends ReflectionMatcher
    A sub-class of ReflectionMatcher that is able to lookup classes by their protobuf type name and can work whit object storage.
    Since:
    7.0
    Author:
    anistor@redhat.com
    • Method Detail

      • convert

        protected Object convert​(Object instance)
        Marshals the instance using Protobuf.
        Overrides:
        convert in class BaseMatcher<Class<?>,​org.infinispan.objectfilter.impl.util.ReflectionHelper.PropertyAccessor,​String>
        Parameters:
        instance - never null
        Returns:
        the converted/decorated instance