Class CamelContextTracker

    • Constructor Detail

      • CamelContextTracker

        public CamelContextTracker()
    • Method Detail

      • accept

        public boolean accept​(CamelContext camelContext)
        Called to determine whether this tracker should accept the given context.
      • contextCreated

        public void contextCreated​(CamelContext camelContext)
        Called when a context is created.
      • contextDestroyed

        public void contextDestroyed​(CamelContext camelContext)
        Called when a context has been shutdown.
      • open

        public final void open()
        Opens the tracker to start tracking when new CamelContext is created or destroyed.
      • close

        public final void close()
        Closes the tracker so it not longer tracks.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
      • notifyContextCreated

        public static void notifyContextCreated​(CamelContext camelContext)
      • notifyContextDestroyed

        public static void notifyContextDestroyed​(CamelContext camelContext)