org.nuxeo.runtime
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
RUNTIME_ABOUT_TO_START
public static final int RUNTIME_ABOUT_TO_START
- See Also:
- Constant Field Values
RUNTIME_STARTED
public static final int RUNTIME_STARTED
- See Also:
- Constant Field Values
RUNTIME_ABOUT_TO_STOP
public static final int RUNTIME_ABOUT_TO_STOP
- See Also:
- Constant Field Values
RUNTIME_STOPPED
public static final int RUNTIME_STOPPED
- See Also:
- Constant Field Values
id
public final int id
- The event id.
runtime
public final RuntimeService runtime
RuntimeServiceEvent
public RuntimeServiceEvent(int id,
RuntimeService runtime)
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
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.