Class RuntimeServiceEvent

java.lang.Object
org.nuxeo.runtime.RuntimeServiceEvent

public class RuntimeServiceEvent extends Object
An event in the Nuxeo Runtime life cycle.

The following event types are defined:

  • RUNTIME_ABOUT_TO_START Sent before starting the runtime
  • RUNTIME_STARTED Sent after the runtime was started
  • RUNTIME_ABOUT_TO_STOP Sent before stopping the runtime
  • RUNTIME_STOPPED Sent after the runtime stopped
Note: these events are not supposed to leave the runtime, hence are not declared serializable.
Author:
Bogdan Stefanescu
  • Field Details

  • Constructor Details

    • RuntimeServiceEvent

      public RuntimeServiceEvent(int id, RuntimeService runtime)
  • Method Details

    • getEventName

      public final String getEventName()
      Gets the event name as a string.
      Returns:
      the event name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object