Class 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
    • Constructor Detail

      • RuntimeServiceEvent

        public RuntimeServiceEvent​(int id,
                                   RuntimeService runtime)
    • Method Detail

      • getEventName

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

        public int hashCode()
        Overrides:
        hashCode in class Object