|
||||||||||
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.ChangelogConnector
public class ChangelogConnector
ChangelogConnector class combines the similar changelog behavior of IDSChangelogConnector, NetscapeChangelogConnector and z/OS Changelog Connector classes. It provides tree different ways to handle merging between original and updated data.
Field Summary | |
---|---|
protected boolean |
bothSeparated
A flag that tells whether the parseEntry(Entry) method should
add the passed as parameter entry as an attribute of the parsed entry. |
protected boolean |
defaultMerge
A flag that tells whether the parseEntry(Entry) method should
merge the parsed entry with the passed as parameter entry. |
protected LDIFParser |
mLdifParser
The LDIFParser object used for parsing the entries. |
protected boolean |
onlyChanges
A flag that tells whether the parseEntry(Entry) method should
merge the operation of the parsed entry with the operation of the passed
as parameter entry. |
static java.lang.String |
PARAM_MERGE_MODE
The parameter name used to control the way the parseEntry(Entry)
method merges the parsed entry with the provided as a parameter entry. |
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
ChangelogConnector()
|
Method Summary | |
---|---|
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object aObject)
Initialize the Connector, connect to the LDAP Server |
protected Entry |
parseEntry(Entry aEntry)
Method for parsing and merging Changelog Entry attributes and changed attributes from the actual Directory Entry. |
java.lang.Object |
querySchema(java.lang.Object source)
Query the schema of 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 |
---|
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isIOException, pushback, queryOperations, queryReply, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
Field Detail |
---|
protected boolean defaultMerge
parseEntry(Entry)
method should
merge the parsed entry with the passed as parameter entry. PARAM_MERGE_MODE
parameter and set during the initialization process (
initialize(Object)
).
protected boolean onlyChanges
parseEntry(Entry)
method should
merge the operation of the parsed entry with the operation of the passed
as parameter entry. PARAM_MERGE_MODE
parameter and set during the initialization process (
initialize(Object)
).
protected boolean bothSeparated
parseEntry(Entry)
method should
add the passed as parameter entry as an attribute of the parsed entry. PARAM_MERGE_MODE
parameter and set during the initialization process (
initialize(Object)
).
protected LDIFParser mLdifParser
LDIFParser
object used for parsing the entries.
public static final java.lang.String PARAM_MERGE_MODE
parseEntry(Entry)
method merges the parsed entry with the provided as a parameter entry.
Constructor Detail |
---|
public ChangelogConnector()
Method Detail |
---|
public void initialize(java.lang.Object aObject) throws java.lang.Exception
initialize
in interface ConnectorInterface
initialize
in class LDAPConnector
aObject
- An Object sent to the initialize method, ignored.
java.lang.Exception
- Any Exception by the underlying methods to connect to the
LDAP Serverprotected Entry parseEntry(Entry aEntry) throws java.lang.Exception
aEntry
- the actual Directory Entry.
java.lang.Exception
- if an error occurs.public java.lang.Object querySchema(java.lang.Object source) throws java.lang.Exception
null
querySchema
in interface ConnectorInterface
querySchema
in class LDAPConnector
source
- A distinguished name
java.lang.Exception
- Any Exception thrown by underlying librariesEntry
,
Vector
public java.lang.String getVersion()
getVersion
in interface VersionInfoInterface
getVersion
in class LDAPConnector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |