001package io.ebean.event.changelog;
002
003/**
004 * Used to assign ChangeLogFilters to bean types.
005 * <p>
006 * Ebean has a built in implementation that uses the ChangeLog annotation to build
007 * appropriate ChangeLogFilters but you can provide an implementation to use instead.
008 * </p>
009 */
010public interface ChangeLogRegister {
011
012  /**
013   * For the given bean type return the Change log filter to use.
014   * <p>
015   * This filter provides control over which persist request are included in the change log.
016   */
017  ChangeLogFilter getChangeFilter(Class<?> beanType);
018}