Class DebuggerFactory

  • Direct Known Subclasses:
    DefaultDebuggerFactory

    public abstract class DebuggerFactory
    extends java.lang.Object
    The factory to provide DebuggerFactory instance. It is also possible to provide null instance depends on the configuration(a production env should always provide nothing)
    Since:
    6.5.2
    Author:
    dennis
    • Constructor Detail

      • DebuggerFactory

        public DebuggerFactory()
    • Method Detail

      • getExecutionInfoCollector

        public abstract BindingExecutionInfoCollector getExecutionInfoCollector()
        Get the collector, the sub-class have to consider the thread-safe issue when implementing.
        Returns:
        the BindingExecutionInfoCollector or null if isn't existed
      • getAnnotationInfoChecker

        public abstract BindingAnnotationInfoChecker getAnnotationInfoChecker()
        Get the checker, the sub-class have to consider the thread-safe issue when implementing.
        Returns:
        the BindingAnnotationInfoChecker or null if isn't existed
      • getInstance

        public static DebuggerFactory getInstance()
        Thread safe method to get the factory instance
        Returns:
        default factory, null if there is no factory existed