Interface ClassEventListener


  • public interface ClassEventListener
    A callback that will be notified when a class event occurs.
    Since:
    1.2
    Author:
    Jevgeni Kabanov (ekabanov@zeroturnaround.com)
    • Field Detail

      • EVENT_LOADED

        static final int EVENT_LOADED
        Event that occurs right after a class has been loaded.
        See Also:
        Constant Field Values
      • EVENT_RELOADED

        static final int EVENT_RELOADED
        Event that occurs right after a class has been reloaded.
        See Also:
        Constant Field Values
      • EVENT_DEPENDENCY_RELOADED

        static final int EVENT_DEPENDENCY_RELOADED
        Event that occurs right after a dependency has been reloaded.
        See Also:
        Constant Field Values
    • Method Detail

      • priority

        default int priority()
        Returns the priority of the listener that defines the order of listener invocation. First run the listener with greatest priority value. Negative values are the latest.