Class Engine.UberspectHolder

  • Enclosing class:
    Engine

    private static final class Engine.UberspectHolder
    extends java.lang.Object
    Gets the default instance of Uberspect.

    This is lazily initialized to avoid building a default instance if there is no use for it. The main reason for not using the default Uberspect instance is to be able to use a (low level) introspector created with a given logger instead of the default one.

    Implemented as on demand holder idiom.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static Uberspect UBERSPECT
      The default uberspector that handles all introspection patterns.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private UberspectHolder()
      Non-instantiable.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • UBERSPECT

        static final Uberspect UBERSPECT
        The default uberspector that handles all introspection patterns.
    • Constructor Detail

      • UberspectHolder

        private UberspectHolder()
        Non-instantiable.