public interface IServiceModelEvent
Modifier and Type | Field and Description |
---|---|
static int |
ALL_EVENTS
Event type that can be used to indicate that notification of all
types of events is requested.
|
static int |
SERVICE_CONFIGURATION_ADDED
Event type used to indicate that a new service configuration has
been added to the model.
|
static int |
SERVICE_CONFIGURATION_CHANGED
Event type used to indicate that a service configuration has
been modified.
|
static int |
SERVICE_CONFIGURATION_REMOVED
Event type used to indicate that a new service configuration has
been removed from the model.
|
static int |
SERVICE_CONFIGURATION_SELECTED
Event type used to indicate that a service configuration has
been selected as the default.
|
static int |
SERVICE_MODEL_LOADED
Event type used to indicate that the service model has been successfully
loaded from persistent storage.
|
static int |
SERVICE_MODEL_SAVED
Event type used to indicate that the service model has been successfully
saved to persistent storage.
|
static int |
SERVICE_PROVIDER_CHANGED
Event type that can be used to indicate that a service provider
has been modified.
|
Modifier and Type | Method and Description |
---|---|
IServiceProvider |
getOldProvider()
For events of type SERVICE_CONFIGURATION_CHANGED this will return
the service provider instance that was replaced or removed.
|
Object |
getSource()
Returns an object identifying the source of this event.
|
int |
getType()
Returns the type of event being reported.
|
static final int SERVICE_CONFIGURATION_ADDED
getSource()
will return the new service configuration.static final int SERVICE_CONFIGURATION_REMOVED
getSource()
will return the old service configuration.static final int SERVICE_CONFIGURATION_CHANGED
getSource()
will return the modified service configuration.static final int SERVICE_CONFIGURATION_SELECTED
getSource()
will return the service configuration, or null if all service
configurations are unselected.static final int SERVICE_MODEL_SAVED
getSource()
will return an instance of IServiceModelManager.static final int SERVICE_MODEL_LOADED
getSource()
will return an instance of IServiceModelManager.static final int SERVICE_PROVIDER_CHANGED
getSource()
will return an instance of IServiceProvider.static final int ALL_EVENTS
Object getSource()
EventObject
IServiceProvider getOldProvider()
SERVICE_CONFIGURATION_CHANGED
int getType()
SERVICE_CONFIGURATION_ADDED
SERVICE_CONFIGURATION_REMOVED
SERVICE_CONFIGURATION_CHANGED
SERVICE_CONFIGURATION_SELECTED
SERVICE_PROVIDER_CHANGED
SERVICE_MODEL_SAVED
SERVICE_MODEL_LOADED
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.