Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime
Class RuntimeServiceEvent

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

public class RuntimeServiceEvent
extends Object

An event in the Nuxeo Runtime life cycle.

The following event types are defined:

Note: these events are not supposed to leave the runtime, hence are not declared serializable.

Author:
Bogdan Stefanescu

Field Summary
 int id
          The event id.
 RuntimeService runtime
           
static int RUNTIME_ABOUT_TO_START
           
static int RUNTIME_ABOUT_TO_STOP
           
static int RUNTIME_STARTED
           
static int RUNTIME_STOPPED
           
 
Constructor Summary
RuntimeServiceEvent(int id, RuntimeService runtime)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getEventName()
          Gets the event name as a string.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
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

toString

public String toString()
Overrides:
toString in class Object

equals

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.