Class SleuthContextListener

  • All Implemented Interfaces:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.context.event.SmartApplicationListener, org.springframework.core.Ordered

    public class SleuthContextListener
    extends Object
    implements org.springframework.context.event.SmartApplicationListener
    Internal tool used by Sleuth. Do not use.
    Since:
    2.2.5
    Author:
    Marcin Grzejszczak
    • Constructor Detail

      • SleuthContextListener

        public SleuthContextListener()
    • Method Detail

      • supportsEventType

        public boolean supportsEventType​(Class<? extends org.springframework.context.ApplicationEvent> eventType)
        Specified by:
        supportsEventType in interface org.springframework.context.event.SmartApplicationListener
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.ApplicationEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
      • isUnusable

        public boolean isUnusable()
        Verifies if context is unusable.
        Returns:
        true when Spring Context has NOT yet been started