Class BootupClasses

java.lang.Object
io.ebeaninternal.server.core.bootup.BootupClasses
All Implemented Interfaces:
Predicate<Class<?>>

public class BootupClasses extends Object implements Predicate<Class<?>>
Interesting classes for a EbeanServer such as Embeddable, Entity, ScalarTypes, Finders, Listeners and Controllers.
  • Constructor Details

    • BootupClasses

      public BootupClasses()
    • BootupClasses

      public BootupClasses(Set<Class<?>> classes)
  • Method Details

    • runServerConfigStartup

      public void runServerConfigStartup(io.ebean.DatabaseBuilder config)
      Run any ServerConfigStartup listeners.
    • addIdGenerators

      public void addIdGenerators(List<io.ebean.config.IdGenerator> idGenerators)
      Add IdGenerator instances (registered explicitly with the ServerConfig).
    • addPersistControllers

      public void addPersistControllers(List<io.ebean.event.BeanPersistController> beanControllers)
      Add BeanPersistController instances.
    • addPostLoaders

      public void addPostLoaders(List<io.ebean.event.BeanPostLoad> postLoaders)
      Add BeanPostLoad instances.
    • addPostConstructListeners

      public void addPostConstructListeners(List<io.ebean.event.BeanPostConstructListener> postConstructListener)
      Add BeanPostConstructListener instances.
    • addFindControllers

      public void addFindControllers(List<io.ebean.event.BeanFindController> findControllers)
      Add BeanFindController instances.
    • addPersistListeners

      public void addPersistListeners(List<io.ebean.event.BeanPersistListener> listenerInstances)
    • addQueryAdapters

      public void addQueryAdapters(List<io.ebean.event.BeanQueryAdapter> queryAdapters)
    • addServerConfigStartup

      public void addServerConfigStartup(List<io.ebean.event.ServerConfigStartup> startupInstances)
    • addChangeLogInstances

      public void addChangeLogInstances(io.ebean.DatabaseBuilder.Settings config)
    • getChangeLogPrepare

      public io.ebean.event.changelog.ChangeLogPrepare getChangeLogPrepare()
    • getChangeLogListener

      public io.ebean.event.changelog.ChangeLogListener getChangeLogListener()
    • getChangeLogRegister

      public io.ebean.event.changelog.ChangeLogRegister getChangeLogRegister()
    • getIdGenerators

      public List<io.ebean.config.IdGenerator> getIdGenerators()
    • getBeanPersistControllers

      public List<io.ebean.event.BeanPersistController> getBeanPersistControllers()
    • getBeanPostLoaders

      public List<io.ebean.event.BeanPostLoad> getBeanPostLoaders()
    • getBeanPostConstructoListeners

      public List<io.ebean.event.BeanPostConstructListener> getBeanPostConstructoListeners()
    • getBeanFindControllers

      public List<io.ebean.event.BeanFindController> getBeanFindControllers()
    • getBeanPersistListeners

      public List<io.ebean.event.BeanPersistListener> getBeanPersistListeners()
    • getBeanQueryAdapters

      public List<io.ebean.event.BeanQueryAdapter> getBeanQueryAdapters()
    • getEmbeddables

      public List<Class<?>> getEmbeddables()
      Return the list of Embeddable classes.
    • getEntities

      public List<Class<?>> getEntities()
      Return the list of entity classes.
    • getScalarTypes

      public List<Class<? extends io.ebean.core.type.ScalarType<?>>> getScalarTypes()
      Return the list of ScalarTypes found.
    • getScalarConverters

      public List<Class<? extends io.ebean.config.ScalarTypeConverter<?,?>>> getScalarConverters()
      Return the list of ScalarConverters found.
    • getAttributeConverters

      public List<Class<? extends jakarta.persistence.AttributeConverter<?,?>>> getAttributeConverters()
      Return the list of AttributeConverters found.
    • test

      public boolean test(Class<?> cls)
      Specified by:
      test in interface Predicate<Class<?>>