Interface SessionTuner

  • All Known Implementing Classes:
    SafeModeTuner, StandardTuner

    public interface SessionTuner
    Generic tuning interface. Allow JPA and Session configuration to be tuned or auto-tuned for a specific purpose. This facilitates a one-flag configuration option for configuring multiple settings, or performing dynamic tuning.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void tuneDeploy​(Session session)
      Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.
      void tunePostDeploy​(Session session)
      Allow any Session configuration to be tune after deploying and connecting the session.
      void tunePreDeploy​(java.util.Map properties)
      Allow any JPA persistence unit properties to be configured, prior to deployment.
    • Method Detail

      • tunePreDeploy

        void tunePreDeploy​(java.util.Map properties)
        Allow any JPA persistence unit properties to be configured, prior to deployment.
      • tuneDeploy

        void tuneDeploy​(Session session)
        Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.
      • tunePostDeploy

        void tunePostDeploy​(Session session)
        Allow any Session configuration to be tune after deploying and connecting the session.