Class OpenTracingAsyncTaskListenerFactory
- java.lang.Object
-
- org.hawaiiframework.async.task_listener.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 aOpenTracingAsyncTaskListener.
-
-
Constructor Summary
Constructors Constructor Description OpenTracingAsyncTaskListenerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskListenercreate()Create a task listener.voidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
create
public TaskListener create()
Description copied from interface:TaskListenerFactoryCreate a task listener.- Specified by:
createin interfaceTaskListenerFactory- Returns:
- The task listener for this provider.
-
setApplicationContext
public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationReadyEvent event)- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-
-