|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WatchRegistry
Defines the semantics for a registry of Watch
instances and their corresponding WatchDataSource
instances, providing capabilities to search over all registered
Watch instances.
| Method Summary | |
|---|---|
void |
addThresholdListener(String id,
ThresholdListener thresholdListener)
Add a ThresholdListener. |
void |
closeAll()
Closes all WatchDataSource instances |
void |
deregister(Watch... watch)
DeRegisters a Watch from underlying collection and closes the Watch |
WatchDataSource[] |
fetch()
Returns an array of WatchDataSource objects which provide a reference to an implementation of WatchDataSource. |
WatchDataSource |
fetch(String id)
Returns a WatchDataSource that matches the input id, that corresponds to a Watch identifier. |
Watch |
findWatch(String id)
Returns a Watch that matches the provided id |
void |
register(Watch... watch)
Registers a Watch to underlying collection |
void |
removeThresholdListener(String id,
ThresholdListener thresholdListener)
Remove a ThresholdListener. |
void |
setServiceBeanContext(ServiceBeanContext context)
Set the ServiceBeanContext for the WatchRegistry |
| Method Detail |
|---|
void deregister(Watch... watch)
watch - The Watch to deregistervoid closeAll()
void register(Watch... watch)
watch - The Watch to register
void addThresholdListener(String id,
ThresholdListener thresholdListener)
register method
id - The identifier to matchthresholdListener - The ThresholdListener to add
void removeThresholdListener(String id,
ThresholdListener thresholdListener)
id - The identifier to matchthresholdListener - The ThresholdListener to removeWatch findWatch(String id)
id - The watch id to match
WatchDataSource[] fetch()
WatchDataSource fetch(String id)
id, that corresponds to a
Watchidentifier.
id - the watch id to match
void setServiceBeanContext(ServiceBeanContext context)
context - The ServiceBeanContext
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||