java.lang.Object
io.ebeaninternal.server.deploy.ChainedBeanPostConstructListener
- All Implemented Interfaces:
BeanPostConstructListener
public final class ChainedBeanPostConstructListener
extends Object
implements BeanPostConstructListener
Handles multiple BeanPostLoad's for a given entity type.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct given the list of BeanPostCreate's. -
Method Summary
Modifier and TypeMethodDescriptionvoidDe-register a BeanPostCreate and return the resulting chain.booleanisRegisterFor(Class<?> cls) voidpostConstruct(Object bean) Fire postLoad on all registered BeanPostCreate implementations.voidpostCreate(Object bean) Register a new BeanPostCreate and return the resulting chain.
-
Constructor Details
-
ChainedBeanPostConstructListener
Construct given the list of BeanPostCreate's.
-
-
Method Details
-
register
Register a new BeanPostCreate and return the resulting chain. -
deregister
De-register a BeanPostCreate and return the resulting chain. -
isRegisterFor
- Specified by:
isRegisterForin interfaceBeanPostConstructListener
-
postConstruct
Fire postLoad on all registered BeanPostCreate implementations.- Specified by:
postConstructin interfaceBeanPostConstructListener
-
autowire
- Specified by:
autowirein interfaceBeanPostConstructListener
-
postCreate
- Specified by:
postCreatein interfaceBeanPostConstructListener
-