|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.LDAPConnector
com.ibm.di.connector.NetscapeChangelogConnector
public class NetscapeChangelogConnector
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_CHANGENUMBER
|
static String |
ATTRIBUTE_CPR
|
static String |
PARAM_BATCH_RETRIEVAL
|
static String |
PARAM_DELIVERY_MODE
|
static String |
PARAM_LDAP_SEARCH_BASE
|
static String |
PARAM_PAGE_SIZE
|
static String |
PARAM_SLEEP_INTERVAL
|
static String |
PARAM_START_AT
|
static String |
PARAM_STORE_PARAM_NAME
|
static String |
PARAM_TIMEOUT
|
static String |
PARAM_USE_NOTIFICATIONS
|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Fields inherited from interface com.ibm.di.server.CheckpointRestartInterface |
|---|
RESTART_AFTER, RESTART_BEFORE, RESTART_IN |
| Fields inherited from interface com.ibm.di.connector.ChangelogInterface |
|---|
CONN_PARAM_STATE_KEY_PERSISTENCE, PARAM_VAL_AFTER_READ, PARAM_VAL_END_OF_CYCLE, PARAM_VAL_MANUAL, SAVE_STATE_AFTER_READ, SAVE_STATE_END_OF_CYCLE, SAVE_STATE_MANUAL |
| Constructor Summary | |
|---|---|
NetscapeChangelogConnector()
|
|
| Method Summary | |
|---|---|
Entry |
getCheckpointInformation()
Returns the state information for the connector. |
Entry |
getNextEntry()
Get the next entry that was retrieved by selectEntries(). |
Object |
getStateKeyObject()
|
int |
getStateKeySaveMethod()
|
String |
getVersion()
Return version information |
void |
initialize(Object aObject)
Initialize the Connector, connect to the LDAP Server |
boolean |
isCheckpointRestartEnabled(int mode)
Components that support checkpoint/restart for a specific mode must return TRUE from this method. |
void |
namingExceptionThrown(NamingExceptionEvent aEvent)
|
void |
objectAdded(NamingEvent aEvent)
|
void |
objectChanged(NamingEvent aEvent)
|
void |
objectRemoved(NamingEvent aEvent)
|
void |
objectRenamed(NamingEvent aEvent)
|
void |
prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
Notifies the connector of a restart situation. |
void |
saveStateKey()
|
void |
selectEntries()
Prepare the Connector for sequential read. |
void |
terminate()
Close the connection to the LDAP server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
|---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Field Detail |
|---|
public static final String PARAM_LDAP_SEARCH_BASE
public static final String PARAM_STORE_PARAM_NAME
public static final String PARAM_START_AT
public static final String PARAM_SLEEP_INTERVAL
public static final String PARAM_TIMEOUT
public static final String PARAM_PAGE_SIZE
public static final String PARAM_USE_NOTIFICATIONS
public static final String PARAM_BATCH_RETRIEVAL
public static final String PARAM_DELIVERY_MODE
public static final String ATTRIBUTE_CPR
public static final String ATTRIBUTE_CHANGENUMBER
| Constructor Detail |
|---|
public NetscapeChangelogConnector()
| Method Detail |
|---|
public void initialize(Object aObject)
throws Exception
LDAPConnector
initialize in interface ConnectorInterfaceinitialize in class LDAPConnectoraObject - An Object sent to the initialize method, ignored.
Exception - Any Exception by the underlying methods to connect to the LDAP Server
public void selectEntries()
throws Exception
LDAPConnector
selectEntries in interface ConnectorInterfaceselectEntries in class LDAPConnectorException - Any Exception by the underlying library
public Entry getNextEntry()
throws Exception
LDAPConnector
getNextEntry in interface ConnectorInterfacegetNextEntry in class LDAPConnectorException - Any Exception thrown by the underlying librariesConnector.selectEntries()
public int getStateKeySaveMethod()
throws Exception
getStateKeySaveMethod in interface ChangelogInterfaceException
public void saveStateKey()
throws Exception
saveStateKey in interface ChangelogInterfaceException
public Object getStateKeyObject()
throws Exception
getStateKeyObject in interface ChangelogInterfaceExceptionpublic void terminate()
LDAPConnector
terminate in interface ConnectorInterfaceterminate in class LDAPConnectorpublic void objectAdded(NamingEvent aEvent)
objectAdded in interface NamespaceChangeListenerpublic void objectRemoved(NamingEvent aEvent)
objectRemoved in interface NamespaceChangeListenerpublic void objectRenamed(NamingEvent aEvent)
objectRenamed in interface NamespaceChangeListenerpublic void objectChanged(NamingEvent aEvent)
objectChanged in interface ObjectChangeListenerpublic void namingExceptionThrown(NamingExceptionEvent aEvent)
namingExceptionThrown in interface NamingListenerpublic String getVersion()
LDAPConnector
getVersion in interface VersionInfoInterfacegetVersion in class LDAPConnectorpublic boolean isCheckpointRestartEnabled(int mode)
CheckpointRestartInterface
isCheckpointRestartEnabled in interface CheckpointRestartInterfacemode - The mode the connector runs in
ServerConstants
public Entry getCheckpointInformation()
throws Exception
CheckpointRestartInterface
getCheckpointInformation in interface CheckpointRestartInterfaceException
public void prepareForRestart(ALState state,
Entry restartInfo,
int restartPoint)
throws Exception
CheckpointRestartInterface
prepareForRestart in interface CheckpointRestartInterfacestate - The ALState object for the AssemblyLinerestartInfo - The last entry object returned by the connector in the getCheckpointInformation methodrestartPoint - The relative point where restarting is taking place (e.g. RESTART_BEFORE ...)
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||