Class DJsonBeanReader<T>

java.lang.Object
io.ebeaninternal.server.json.DJsonBeanReader<T>
All Implemented Interfaces:
io.ebean.text.json.JsonBeanReader<T>

public final class DJsonBeanReader<T> extends Object implements io.ebean.text.json.JsonBeanReader<T>
A 'context' for reading entity beans from JSON.

This is used such that a load context and persistence context can be used to span multiple marshalling requests.

  • Constructor Details

  • Method Details

    • persistenceContextPut

      public void persistenceContextPut(Object beanId, T currentBean)
      Specified by:
      persistenceContextPut in interface io.ebean.text.json.JsonBeanReader<T>
    • getPersistenceContext

      public io.ebean.bean.PersistenceContext getPersistenceContext()
      Specified by:
      getPersistenceContext in interface io.ebean.text.json.JsonBeanReader<T>
    • read

      public T read(T target)
      Specified by:
      read in interface io.ebean.text.json.JsonBeanReader<T>
    • forJson

      public io.ebean.text.json.JsonBeanReader<T> forJson(com.fasterxml.jackson.core.JsonParser moreJson)
      Specified by:
      forJson in interface io.ebean.text.json.JsonBeanReader<T>