|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConfigurableNotifier
This interface must be implemented by a configurable notifier object. This component has to inform all registered configurable obejcts due to changes in their configuration. Therefor this implementation must interact with a configuration manager.
| Method Summary | |
|---|---|
String[] |
getAllConfigurableIDs()
Get all configurable IDs which are registered. |
String[] |
getAllConfigurableNamespaces()
Get all namespaces which are registered. |
int |
getConfigurableCount()
Get the number of configurables which are registered. |
String |
getConfigurableNamespace(String id)
Get the namespace of the specified configurable. |
boolean |
isRegistered(String id)
Checks wether a configurable with the specified ID is registered or not. |
void |
notifyAllConfigurables()
Notifies all configurables with their current configuration. |
void |
notifyByNamespace(String namespace)
Notifies all configurables which have been registered for the given namespace. |
void |
notifyConfigurable(String configurableId)
Notifies the configurable object identified by the given configurableId. |
void |
register(IConfigurable c)
Registers a new configurable object. |
void |
shutdown()
This method is called on shutdown time by the runtime object. |
void |
startup()
This method is called on startup time by the runtime object. |
void |
unregister(IConfigurable c)
Unregisters a new configurable object. |
| Method Detail |
|---|
void register(IConfigurable c)
c - the object to be registeredvoid unregister(IConfigurable c)
c - the object to be unregisteredvoid notifyConfigurable(String configurableId)
configurableId - the configurable ID to be notified.void notifyByNamespace(String namespace)
namespace - the namespace to be notified.void notifyAllConfigurables()
String[] getAllConfigurableIDs()
String[] getAllConfigurableNamespaces()
int getConfigurableCount()
String getConfigurableNamespace(String id)
void startup()
void shutdown()
boolean isRegistered(String id)
id - ID to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||