Module io.ebean.api
Package io.ebean.bean

Interface BeanLoader

All Known Implementing Classes:
SingleBeanLoader, SingleBeanLoader.Dflt, SingleBeanLoader.L2, SingleBeanLoader.Ref

public interface BeanLoader
Loads a entity bean.

Typically invokes lazy loading for a single or batch of entity beans.

  • Method Summary

    Modifier and Type
    Method
    Description
    Return the name of the associated Database.
    void
    Invoke the lazy loading for this bean.
    Obtain a lock on the loader.
  • Method Details

    • getName

      String getName()
      Return the name of the associated Database.
    • loadBean

      void loadBean(EntityBeanIntercept ebi)
      Invoke the lazy loading for this bean.
    • lock

      Lock lock()
      Obtain a lock on the loader.