Package io.ebeaninternal.server.deploy
Class ChainedBeanPostLoad
- java.lang.Object
-
- io.ebeaninternal.server.deploy.ChainedBeanPostLoad
-
- All Implemented Interfaces:
BeanPostLoad
public class ChainedBeanPostLoad extends Object implements BeanPostLoad
Handles multiple BeanPostLoad's for a given entity type.
-
-
Constructor Summary
Constructors Constructor Description ChainedBeanPostLoad(List<BeanPostLoad> list)
Construct given the list of BeanPostLoad's.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainedBeanPostLoad
deregister(BeanPostLoad c)
De-register a BeanPostLoad and return the resulting chain.boolean
isRegisterFor(Class<?> cls)
Return true if this BeanPostLoad instance should be registered for post load on this entity type.void
postLoad(Object bean)
Fire postLoad on all registered BeanPostLoad implementations.ChainedBeanPostLoad
register(BeanPostLoad c)
Register a new BeanPostLoad and return the resulting chain.
-
-
-
Constructor Detail
-
ChainedBeanPostLoad
public ChainedBeanPostLoad(List<BeanPostLoad> list)
Construct given the list of BeanPostLoad's.
-
-
Method Detail
-
register
public ChainedBeanPostLoad register(BeanPostLoad c)
Register a new BeanPostLoad and return the resulting chain.
-
deregister
public ChainedBeanPostLoad deregister(BeanPostLoad c)
De-register a BeanPostLoad and return the resulting chain.
-
isRegisterFor
public boolean isRegisterFor(Class<?> cls)
Description copied from interface:BeanPostLoad
Return true if this BeanPostLoad instance should be registered for post load on this entity type.- Specified by:
isRegisterFor
in interfaceBeanPostLoad
-
postLoad
public void postLoad(Object bean)
Fire postLoad on all registered BeanPostLoad implementations.- Specified by:
postLoad
in interfaceBeanPostLoad
-
-