Class ProcessingContext

  • Direct Known Subclasses:
    Marshaller, Unmarshaller

    public abstract class ProcessingContext
    extends Object
    Jsonb processing (serializing/deserializing) context. Instance is thread bound (in contrast to JsonbContext.
    Author:
    Roman Grigoriadi
    • Field Detail

    • Constructor Detail

      • ProcessingContext

        public ProcessingContext​(JsonbContext jsonbContext)
        Parent instance for marshaller and unmarshaller.
        Parameters:
        jsonbContext - context of Jsonb
    • Method Detail

      • getJsonbContext

        public JsonbContext getJsonbContext()
        Jsonb context.
        Returns:
        jsonb context
      • getMappingContext

        public MappingContext getMappingContext()
        Mapping context.
        Returns:
        mapping context
      • addProcessedObject

        public boolean addProcessedObject​(Object object)
      • removeProcessedObject

        public boolean removeProcessedObject​(Object object)