#2072 - Extract ebean-api module - NB: this includes moving ShutdownManager and small adjustment to DocStore/Elastic SPI

This commit is contained in:
rob bygrave
2020-10-09 17:12:27 +13:00
parent 11839aca5e
commit 60becb6346
389 changed files with 253 additions and 109 deletions
@@ -0,0 +1,16 @@
package io.ebean.bean;
/**
* Interface to define the addition of a bean to the underlying collection.
* <p>
* For maps this takes into account the map key. For List and Set this simply
* adds the bean to the underlying list or set.
* </p>
*/
public interface BeanCollectionAdd {
/**
* Add a loaded bean to the collection.
*/
void addEntityBean(EntityBean bean);
}