Class PersistenceMarshallerImpl

java.lang.Object
org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller
org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl
All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamAwareMarshaller, PersistenceMarshaller

public class PersistenceMarshallerImpl extends AbstractInternalProtoStreamMarshaller implements PersistenceMarshaller
A Protostream based PersistenceMarshaller implementation that is responsible for marshalling/unmarshalling objects which are to be persisted.

Known internal objects that are required by stores and loaders, such as EmbeddedMetadata, are registered with this marshaller's SerializationContext so that they can be natively marshalled by the underlying Protostream marshaller. If no entry exists in the SerializationContext for a given object, then the marshalling of said object is delegated to a user marshaller if configured (SerializationConfiguration.MARSHALLER) and the generated bytes are wrapped in a MarshallableUserObject object and marshalled by ProtoStream.

Since:
10.0
Author:
Ryan Emerson
  • Constructor Details

    • PersistenceMarshallerImpl

      public PersistenceMarshallerImpl()
  • Method Details