Class PersistenceUnitPluginExecutor

java.lang.Object
cz.cvut.kbss.jopa.plugin.PersistenceUnitPluginExecutor

public class PersistenceUnitPluginExecutor extends Object
Resolves, instantiates and executes persistence unit lifecycle plugins.

The plugins are executed in the order they are defined in the configuration.

  • Constructor Details

    • PersistenceUnitPluginExecutor

      public PersistenceUnitPluginExecutor(Configuration config)
  • Method Details

    • afterPersistenceUnitCreated

      public void afterPersistenceUnitCreated(Supplier<EntityManager> emSupplier)
    • beforePersistenceUnitDestroyed

      public void beforePersistenceUnitDestroyed(Supplier<EntityManager> emSupplier)