com.atlassian.crowd.integration.directory.monitor.listener
Class ApacheDSPersistentSearchListener

java.lang.Object
  extended by com.atlassian.crowd.integration.directory.monitor.listener.ApacheDSPersistentSearchListener
All Implemented Interfaces:
DirectoryMonitor, DirectoryListener

public class ApacheDSPersistentSearchListener
extends java.lang.Object
implements DirectoryListener


Constructor Summary
ApacheDSPersistentSearchListener(ApacheDS15 remoteDirectory, com.atlassian.event.EventManager eventManager)
           
 
Method Summary
 long getDirectoryID()
          Returns the ID of the directory that is being polled.
 void startListening()
          Registers the listener with the directory.
 void stopListening()
          Unregisters the listener with the directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheDSPersistentSearchListener

public ApacheDSPersistentSearchListener(ApacheDS15 remoteDirectory,
                                        com.atlassian.event.EventManager eventManager)
Method Detail

getDirectoryID

public long getDirectoryID()
Description copied from interface: DirectoryMonitor
Returns the ID of the directory that is being polled.

Specified by:
getDirectoryID in interface DirectoryMonitor
Returns:
directory ID.

startListening

public void startListening()
                    throws DirectoryMonitorRegistrationException
Description copied from interface: DirectoryListener
Registers the listener with the directory.

Specified by:
startListening in interface DirectoryListener
Throws:
DirectoryMonitorRegistrationException - error during registration.

stopListening

public void stopListening()
                   throws DirectoryMonitorUnregistrationException
Description copied from interface: DirectoryListener
Unregisters the listener with the directory.

Specified by:
stopListening in interface DirectoryListener
Throws:
DirectoryMonitorUnregistrationException - error during unregistration.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.