|
Nuxeo Enterprise Platform 5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.runtime.ComponentEvent
public class ComponentEvent
A component event.
The following event types are defined:
COMPONENT_REGISTERED
Sent when registering a component after the component is created
ACTIVATING_COMPONENT
Sent before a component is activated
COMPONENT_ACTIVATED
Sent after the component is activated
DEACTIVATING_COMPONENT
Sent before a component is deactivated
COMPONENT_DEACTIVATED
Sent after a component is deactivated
COMPONENT_RESOLVED
Sent when a component was resolved (all dependencies are satisfied)
COMPONENT_UNRESOLVED
Sent when a component is unresolved (either it will be unregistered,
either one of its dependencies is no more satosfied)
COMPONENT_UNREGISTERED
Sent when unregsitering a component before the component is destroyed
COMPONENT_EVENT
May be used by components to end custom events
Field Summary | |
---|---|
static int |
ACTIVATING_COMPONENT
|
static int |
COMPONENT_ACTIVATED
|
static int |
COMPONENT_DEACTIVATED
|
static int |
COMPONENT_EVENT
|
static int |
COMPONENT_REGISTERED
|
static int |
COMPONENT_RESOLVED
|
static int |
COMPONENT_UNREGISTERED
|
static int |
COMPONENT_UNRESOLVED
|
Serializable |
data
Optional event data. |
static int |
DEACTIVATING_COMPONENT
|
static int |
EXTENSION_PENDING
|
static int |
EXTENSION_REGISTERED
|
static int |
EXTENSION_UNREGISTERED
|
int |
id
The event id. |
RegistrationInfo |
registrationInfo
The component this event relates to if any, null otherwise. |
Constructor Summary | |
---|---|
ComponentEvent(int id,
RegistrationInfo ri)
|
|
ComponentEvent(int id,
RegistrationInfo ri,
Serializable data)
|
Method Summary | |
---|---|
String |
getEventName()
Gets the event name as a string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COMPONENT_REGISTERED
public static final int ACTIVATING_COMPONENT
public static final int DEACTIVATING_COMPONENT
public static final int COMPONENT_ACTIVATED
public static final int COMPONENT_DEACTIVATED
public static final int COMPONENT_UNREGISTERED
public static final int COMPONENT_RESOLVED
public static final int COMPONENT_UNRESOLVED
public static final int EXTENSION_REGISTERED
public static final int EXTENSION_UNREGISTERED
public static final int EXTENSION_PENDING
public static final int COMPONENT_EVENT
public final int id
public final RegistrationInfo registrationInfo
public final Serializable data
Constructor Detail |
---|
public ComponentEvent(int id, RegistrationInfo ri)
public ComponentEvent(int id, RegistrationInfo ri, Serializable data)
Method Detail |
---|
public final String getEventName()
public String toString()
toString
in class Object
|
Nuxeo Enterprise Platform 5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |