001package io.ebean.bean;
002
003/**
004 * Loads a entity bean collection.
005 * <p>
006 * Typically invokes lazy loading for a single or batch of collections.
007 * </p>
008 */
009public interface BeanCollectionLoader {
010
011  /**
012   * Return the name of the associated Database.
013   */
014  String getName();
015
016  /**
017   * Invoke the lazy loading for this bean collection.
018   */
019  void loadMany(BeanCollection<?> collection, boolean onlyIds);
020
021}