|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.manager.directory.monitor.listener.DirectoryListenerManagerImpl
public class DirectoryListenerManagerImpl
| Constructor Summary | |
|---|---|
DirectoryListenerManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addListener(DirectoryListener listener)
Registers a configured DirectoryListener and starts listening. |
boolean |
hasListener(long directoryID)
Checks whether a DirectoryListener is currently listening. |
void |
removeAllListeners()
Attempts to unregister all registered listeners. |
boolean |
removeListener(long directoryID)
Unregisters the DirectoryListener and stops listening. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryListenerManagerImpl()
| Method Detail |
|---|
public void addListener(DirectoryListener listener)
throws DirectoryMonitorRegistrationException
DirectoryListenerManager
addListener in interface DirectoryListenerManagerlistener - configured DirectoryListener.
DirectoryMonitorRegistrationException - error starting listener.public boolean hasListener(long directoryID)
DirectoryListenerManager
hasListener in interface DirectoryListenerManagerdirectoryID - directory ID.
true if and only if a listener has been successfully added.
public boolean removeListener(long directoryID)
throws DirectoryMonitorUnregistrationException
DirectoryListenerManager
removeListener in interface DirectoryListenerManagerdirectoryID - directory ID.
true if and only if a listener existed
and was removed from listening to given directory.
DirectoryMonitorUnregistrationExceptionpublic void removeAllListeners()
DirectoryListenerManager
removeAllListeners in interface DirectoryListenerManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||