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

    Modifier and Type
    Method
    Description
    void
    Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.
    void
    Allow any Session configuration to be tune after deploying and connecting the session.
    void
    tunePreDeploy(Map properties)
    Allow any JPA persistence unit properties to be configured, prior to deployment.
  • Method Details

    • tunePreDeploy

      void tunePreDeploy(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.