Active Directory provides a control for clients to register to receive changes notifications. Note the following constraints when configuring your search:
||Must be one-level or object-level
||Must be ‘(objectClass=*)’
||list of attributes to be returned when a change occurs. Does not specify attributes which will generate notifications.
A notification client is provided to encapsulate the asynchronous search and expose a blocking queue.