Class ChainedBeanPostLoad

java.lang.Object
io.ebeaninternal.server.deploy.ChainedBeanPostLoad
All Implemented Interfaces:
io.ebean.event.BeanPostLoad

public final class ChainedBeanPostLoad extends Object implements io.ebean.event.BeanPostLoad
Handles multiple BeanPostLoad's for a given entity type.
  • Constructor Details

    • ChainedBeanPostLoad

      public ChainedBeanPostLoad(List<io.ebean.event.BeanPostLoad> list)
      Construct given the list of BeanPostLoad's.
  • Method Details

    • register

      public ChainedBeanPostLoad register(io.ebean.event.BeanPostLoad c)
      Register a new BeanPostLoad and return the resulting chain.
    • deregister

      public ChainedBeanPostLoad deregister(io.ebean.event.BeanPostLoad c)
      De-register a BeanPostLoad and return the resulting chain.
    • isRegisterFor

      public boolean isRegisterFor(Class<?> cls)
      Specified by:
      isRegisterFor in interface io.ebean.event.BeanPostLoad
    • postLoad

      public void postLoad(Object bean)
      Fire postLoad on all registered BeanPostLoad implementations.
      Specified by:
      postLoad in interface io.ebean.event.BeanPostLoad