|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.norna.RegistryEvent
Event fired by the ServiceRegistry when a service status changes.
ServiceRegistry| Field Summary | |
static int |
SERVICE_ADDED
Event thrown when a service have been added to the registry. |
static int |
SERVICE_READY
Service ready event |
static int |
SERVICE_REMOVED
Service removed. |
static int |
SERVICE_STARTING
Service start event. |
static int |
SERVICE_STOPPED
Services stopped event. |
| Constructor Summary | |
RegistryEvent(int type,
java.lang.String nuid)
Create an event. |
|
| Method Summary | |
java.lang.String |
getNamespaceID()
Get the NUID of the service that triggered this event. |
int |
getType()
Get event type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SERVICE_ADDED
public static final int SERVICE_STARTING
public static final int SERVICE_READY
public static final int SERVICE_STOPPED
public static final int SERVICE_REMOVED
| Constructor Detail |
public RegistryEvent(int type,
java.lang.String nuid)
type - Event typenuid - Namespace unique ID of the service| Method Detail |
public java.lang.String getNamespaceID()
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||