Class StandardTuner

  • All Implemented Interfaces:
    SessionTuner

    public class StandardTuner
    extends java.lang.Object
    implements SessionTuner
    Default tuner. This uses the standard/default configuration.
    • Constructor Summary

      Constructors 
      Constructor Description
      StandardTuner()  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardTuner

        public StandardTuner()
    • Method Detail

      • tunePreDeploy

        public void tunePreDeploy​(java.util.Map properties)
        Allow any JPA persistence unit properties to be configured, prior to deployment.
        Specified by:
        tunePreDeploy in interface SessionTuner
      • tuneDeploy

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

        public void tunePostDeploy​(Session session)
        Allow any Session configuration to be tune after deploying and connecting the session.
        Specified by:
        tunePostDeploy in interface SessionTuner