|
||||||||||
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 ConnectorInterface
initialize
in class LDAPConnector
aObject
- An Object sent to the initialize method, ignored.
Exception
- Any Exception by the underlying methods to connect to the LDAP Serverpublic void selectEntries() throws Exception
LDAPConnector
selectEntries
in interface ConnectorInterface
selectEntries
in class LDAPConnector
Exception
- Any Exception by the underlying librarypublic Entry getNextEntry() throws Exception
LDAPConnector
getNextEntry
in interface ConnectorInterface
getNextEntry
in class LDAPConnector
Exception
- Any Exception thrown by the underlying librariesConnector.selectEntries()
public int getStateKeySaveMethod() throws Exception
getStateKeySaveMethod
in interface ChangelogInterface
Exception
public void saveStateKey() throws Exception
saveStateKey
in interface ChangelogInterface
Exception
public Object getStateKeyObject() throws Exception
getStateKeyObject
in interface ChangelogInterface
Exception
public void terminate()
LDAPConnector
terminate
in interface ConnectorInterface
terminate
in class LDAPConnector
public void objectAdded(NamingEvent aEvent)
objectAdded
in interface NamespaceChangeListener
public void objectRemoved(NamingEvent aEvent)
objectRemoved
in interface NamespaceChangeListener
public void objectRenamed(NamingEvent aEvent)
objectRenamed
in interface NamespaceChangeListener
public void objectChanged(NamingEvent aEvent)
objectChanged
in interface ObjectChangeListener
public void namingExceptionThrown(NamingExceptionEvent aEvent)
namingExceptionThrown
in interface NamingListener
public String getVersion()
LDAPConnector
getVersion
in interface VersionInfoInterface
getVersion
in class LDAPConnector
public boolean isCheckpointRestartEnabled(int mode)
CheckpointRestartInterface
isCheckpointRestartEnabled
in interface CheckpointRestartInterface
mode
- The mode the connector runs in
ServerConstants
public Entry getCheckpointInformation() throws Exception
CheckpointRestartInterface
getCheckpointInformation
in interface CheckpointRestartInterface
Exception
public void prepareForRestart(ALState state, Entry restartInfo, int restartPoint) throws Exception
CheckpointRestartInterface
prepareForRestart
in interface CheckpointRestartInterface
state
- 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 |