|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.UCL.satin.arch.components.Component
edu.UCL.satin.impl.arch.components.comms.Discovery
Represents a SATIN discovery component
| Field Summary |
| Fields inherited from class edu.UCL.satin.arch.components.Component |
immutable, properties |
| Fields inherited from interface edu.UCL.satin.arch.facets.ComponentFacet |
DISABLED, ENABLED |
| Constructor Summary | |
Discovery(java.lang.Object id)
Creates a new Discovery component with the given component identifier |
|
| Method Summary | |
abstract void |
addListener(ComponentListener c)
Adds a listener that will be notified when any new component is discovered. |
abstract void |
addListener(ComponentListener c,
java.util.Hashtable filter)
Adds a listener that will be notified when any new component matching the filter given is discovered. |
abstract Component[] |
getComponents(java.util.Hashtable properties)
Returns an array of Components found that match the given property set |
abstract void |
removeListener(ComponentListener c)
Removes all instances of the given listener (including any different filters) from the list of listeners to be notified. |
abstract void |
removeListener(ComponentListener c,
java.util.Hashtable filter)
Removes the particular listener+filter pair from the list of listeners to be notified. |
| Methods inherited from class edu.UCL.satin.arch.components.Component |
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute, isEnabled, match, setEnabled, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Discovery(java.lang.Object id)
id - The component identifier| Method Detail |
public abstract void addListener(ComponentListener c)
addListener in interface DiscoveryFacetc - the listener that will be notified
public abstract void addListener(ComponentListener c,
java.util.Hashtable filter)
addListener in interface DiscoveryFacetc - the listener to be notifiedfilter - The filter, as a hashtable of attributespublic abstract void removeListener(ComponentListener c)
removeListener in interface DiscoveryFacetc - The listener to be removed.
public abstract void removeListener(ComponentListener c,
java.util.Hashtable filter)
removeListener in interface DiscoveryFacetc - The listener to be removedfilter - The filter matches of which this listener will not be notified any more.public abstract Component[] getComponents(java.util.Hashtable properties)
getComponents in interface DiscoveryFacetproperties - The properties that the returned components need to match
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||