io.ebean.bean.BeanLoader Maven / Gradle / Ivy
package io.ebean.bean;
import java.util.concurrent.locks.Lock;
/**
* Loads a entity bean.
*
* Typically invokes lazy loading for a single or batch of entity beans.
*
*/
public interface BeanLoader {
/**
* Return the name of the associated Database.
*/
String name();
/**
* Invoke the lazy loading for this bean.
*/
void loadBean(EntityBeanIntercept ebi);
/**
* Obtain a lock on the loader.
*/
Lock lock();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy