Class Engine.UberspectHolder

java.lang.Object
org.apache.commons.jexl3.internal.Engine.UberspectHolder
Enclosing class:
Engine

private static final class Engine.UberspectHolder extends 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 Details

    • UBERSPECT

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

    • UberspectHolder

      private UberspectHolder()
      Non-instantiable.