APISonar


io.ebean.plugin.SpiServer.json

> io > ebean > plugin > SpiServer > json
io APIs ebean APIs plugin APIs SpiServer APIs json APIs

Example 1
public void configure(SpiServer server) {
    jsonBuilder = new ChangeJsonBuilder(server.json());

    Properties properties = server.getServerConfig().getProperties();
    if (properties != null) {
      String bufferSize = properties.getProperty("ebean.changeLog.bufferSize");
      if (bufferSize != null) {
        defaultBufferSize = Integer.parseInt(bufferSize);
      }
    }
  }