Class OpenTracingAsyncTaskListenerFactory

  • All Implemented Interfaces:
    EventListener, TaskListenerFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

    public class OpenTracingAsyncTaskListenerFactory
    extends Object
    implements TaskListenerFactory, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
    Factory that creates a OpenTracingAsyncTaskListener.
    • Constructor Detail

      • OpenTracingAsyncTaskListenerFactory

        public OpenTracingAsyncTaskListenerFactory()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(@NonNull
                                          org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • onApplicationEvent

        public void onApplicationEvent​(@NonNull
                                       org.springframework.boot.context.event.ApplicationReadyEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>