|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulg.montefiore.run.totem.domain.facade.InterDomainManagerObserver
public class InterDomainManagerObserver
This class is used to notify all listeners of changes in the InterDomainManager (i.e. domain added, domain removed, default domain changed)
Creation date: 9 janv. 2006
InterDomainManager,
InterDomainManagerListener| Constructor Summary | |
|---|---|
InterDomainManagerObserver()
|
|
| Method Summary | |
|---|---|
void |
addListener(InterDomainManagerListener l)
Add a listener to the list of listeners. |
int |
getNbListeners()
return the number of registered listeners |
protected void |
notifyAddDomain(Domain domain)
A new domain added. |
protected void |
notifyChangeDefaultDomain(Domain domain)
The default domain has changed for the specified domain. |
protected void |
notifyRemoveDomain(Domain domain)
A domain removed. |
void |
removeListener(InterDomainManagerListener l)
Remove a listener from the list of registered listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterDomainManagerObserver()
| Method Detail |
|---|
public void addListener(InterDomainManagerListener l)
l - the listener to addpublic void removeListener(InterDomainManagerListener l)
l - public int getNbListeners()
protected void notifyAddDomain(Domain domain)
domain - The new domain.protected void notifyRemoveDomain(Domain domain)
domain - A reference to the domain removed.protected void notifyChangeDefaultDomain(Domain domain)
domain - the new default domain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||