com.avaje.ebean.bean.BeanCollectionLoader Maven / Gradle / Ivy
package com.avaje.ebean.bean;
/**
* Loads a entity bean collection.
*
* Typically invokes lazy loading for a single or batch of collections.
*
*/
public interface BeanCollectionLoader {
/**
* Return the name of the associated EbeanServer.
*/
String getName();
/**
* Invoke the lazy loading for this bean collection.
*/
void loadMany(BeanCollection> collection, boolean onlyIds);
}