| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.ibm.di.server.Monitor
com.ibm.di.eventhandler.Switchboard
com.ibm.di.eventhandler.ADLDAPSwitchboard
public class ADLDAPSwitchboard
The class ADLDAPSwitchboard represents the Active Directory EventHandler. This EventHandler reports object changes that occur in Active Directory.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class java.lang.Thread | 
|---|
| Thread.State, Thread.UncaughtExceptionHandler | 
| Field Summary | |
|---|---|
| static String | PARAM_AUTHENTICATION_METHOD | 
| static String | PARAM_LDAP_PASSWORD | 
| static String | PARAM_LDAP_SEARCH_BASE | 
| static String | PARAM_LDAP_URL | 
| static String | PARAM_LDAP_USE_SSL | 
| static String | PARAM_LDAP_USER_NAME | 
| static String | PARAM_PERSISTENT_PARAMETER_NAME | 
| static String | PARAM_START_AT | 
| Fields inherited from class java.lang.Thread | 
|---|
| MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Constructor Summary | |
|---|---|
| ADLDAPSwitchboard()Creates context request controls and search request controls. | |
| Method Summary | |
|---|---|
| protected  void | addEventProperties(Entry aEntry)Adds properties to the event object delivered by the EventHandler. | 
| protected  void | blockForNewChanges()Performs a search request to Active Directory that blocks until new change happens in the Directory. | 
|  void | close()Terminates LDAP resources. | 
|  Entry | getUsnValues()Returns an Entry object containing the current USN synchronization values. | 
|  String | getVersion()Returns version information. | 
| protected  void | initialize()Initializes the EventHandler's Directory Context and the AD Changelog Connector used for retrieving changed objects. | 
|  ConnectorInterface | loadConnector(String aConnType)Instantiates a Connector given its IBM Tivoli Directory Integrator name. | 
| protected  void | processUnhandledChanges()Retrieves from Active Directory all "newly changed" objects - these are all the changes not reported so far by the EventHandler. | 
|  void | run()Cycles consecutively through the following operations Reads and reports all unhandled changes. | 
|  void | setUsnValues(Entry aUsnEntry)Sets the current USN synchronization values to the values specified in the "aUsnEntry" parameter. | 
| Methods inherited from class com.ibm.di.server.Monitor | 
|---|
| addActionListener, addThread, allThreadsStopped, fireListener, removeActionListener, removeThread, runningALs, runningEHs, setMonitorMessage, threadStarted, threadStopped | 
| Methods inherited from class java.lang.Thread | 
|---|
| activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String PARAM_LDAP_URL
public static final String PARAM_LDAP_USER_NAME
public static final String PARAM_LDAP_PASSWORD
public static final String PARAM_AUTHENTICATION_METHOD
public static final String PARAM_LDAP_USE_SSL
public static final String PARAM_LDAP_SEARCH_BASE
public static final String PARAM_PERSISTENT_PARAMETER_NAME
public static final String PARAM_START_AT
| Constructor Detail | 
|---|
public ADLDAPSwitchboard()
| Method Detail | 
|---|
protected void initialize()
                   throws Exception
Exception - If an error occurs during the initialization.public void run()
run in interface Runnablerun in class Thread
protected void processUnhandledChanges()
                                throws Exception
Exception - If an error occurs while retrieving changed objects.
protected void blockForNewChanges()
                           throws NamingException
NamingException - If an error occurs while executing the search operation.public void close()
close in class Switchboardprotected void addEventProperties(Entry aEntry)
aEntry - The event object to add properties to.
public ConnectorInterface loadConnector(String aConnType)
                                 throws Exception
Exceptionpublic Entry getUsnValues()
public void setUsnValues(Entry aUsnEntry)
                  throws Exception
Exception - If the given Entry object does not contain the neccessary USN values.public String getVersion()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||