Class ClasspathLoggingApplicationListener

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

    public final class ClasspathLoggingApplicationListener
    extends Object
    implements org.springframework.context.event.GenericApplicationListener
    A SmartApplicationListener that reacts to environment prepared events and to failed events by logging the classpath of the thread context class loader (TCCL) at DEBUG level.
    Since:
    2.0.0
    • Method Detail

      • onApplicationEvent

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

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.context.event.GenericApplicationListener
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • supportsEventType

        public boolean supportsEventType​(org.springframework.core.ResolvableType resolvableType)
        Specified by:
        supportsEventType in interface org.springframework.context.event.GenericApplicationListener