Class AbstractTracerBase

  • All Implemented Interfaces:
    ITracer
    Direct Known Subclasses:
    AbstractVilTracer, NoTracer

    public abstract class AbstractTracerBase
    extends java.lang.Object
    implements ITracer
    An abstract base tracer implementation storing the actual locale.
    Author:
    Holger Eichelberger
    • Field Detail

      • locale

        private java.util.Locale locale
    • Constructor Detail

      • AbstractTracerBase

        public AbstractTracerBase()
    • Method Detail

      • getLocale

        public java.util.Locale getLocale()
        Description copied from interface: ITracer
        Returns the current locale for evaluation.
        Specified by:
        getLocale in interface ITracer
        Returns:
        the current locale
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Description copied from interface: ITracer
        Changes the current locale.
        Specified by:
        setLocale in interface ITracer
        Parameters:
        locale - the new locale (ignored if null)
      • setRuntimeEnvironment

        public void setRuntimeEnvironment​(RuntimeEnvironment<?,​?> environment)
        Description copied from interface: ITracer
        Defines the actual runtime environment.
        Specified by:
        setRuntimeEnvironment in interface ITracer
        Parameters:
        environment - the environment
      • getRuntimeEnvironment

        public RuntimeEnvironment<?,​?> getRuntimeEnvironment()
        Description copied from interface: ITracer
        Returns the actual runtime environment.
        Specified by:
        getRuntimeEnvironment in interface ITracer
        Returns:
        registry the runtime environment (may be null if not currently executing)