001package io.ebean.bean;
002
003/**
004 * Loads a entity bean.
005 * <p>
006 * Typically invokes lazy loading for a single or batch of entity beans.
007 * </p>
008 */
009public interface BeanLoader {
010
011  /**
012   * Return the name of the associated EbeanServer.
013   */
014  String getName();
015
016  /**
017   * Invoke the lazy loading for this bean.
018   */
019  void loadBean(EntityBeanIntercept ebi);
020
021}