java.lang.Object
io.ebean.bean.SingleBeanLoader
- All Implemented Interfaces:
BeanLoader
- Direct Known Subclasses:
SingleBeanLoader.Dflt
,SingleBeanLoader.L2
,SingleBeanLoader.Ref
BeanLoader used when single beans are loaded (which is usually not ideal / N+1).
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Single bean lazy loaded when a reference bean.static class
Single bean lazy loaded when bean from L2 cache.static class
Single bean lazy loaded when a reference bean. -
Field Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.ebean.bean.BeanLoader
loadBean
-
Field Details
-
database
-
-
Method Details
-
getName
Description copied from interface:BeanLoader
Return the name of the associated Database.- Specified by:
getName
in interfaceBeanLoader
-
lock
Description copied from interface:BeanLoader
Obtain a lock on the loader.- Specified by:
lock
in interfaceBeanLoader
-