|
||||||||||
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.ITIMAgentConnector
public class ITIMAgentConnector
The ITIM Agent Connector is an adapter between the TDI Connector API and the ITIM DAML JNDI package. Rather than using the built-in TDI JNDI Connector, this Connector allows the specifics of configuration to be controlled and can hide details in the JNDI setup that are irrelevant when talking to a DAML endpoint.
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
ITIMAgentConnector()
Constructor of the ITIM Agent Connector. |
Method Summary | |
---|---|
void |
deleteEntry(Entry aEntry,
SearchCriteria aSearch)
Deletes a JNDI Entry. |
Entry |
findEntry(SearchCriteria aSearch)
Finds a JNDI Entry given search criteria. |
Entry |
getNextEntry()
Retrieves the next Entry object from the search results. |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object aObject)
Reads Connector parameters and creates the JNDI context. |
void |
modEntry(Entry aEntry,
SearchCriteria aSearch)
Modifies a JNDI Entry. |
void |
modEntry(Entry aEntry,
SearchCriteria aSearch,
Entry aOldEntry)
Modifies a JNDI Entry. |
void |
putEntry(Entry aEntry)
Adds the given Entry as a new JNDI Subcontext. |
void |
selectEntries()
Performs a JNDI search operation with the search controls specified. |
void |
terminate()
Closes the JNDI context. |
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, isDeltaSupported, isExceptionFatal, isIOException, pushback, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
Constructor Detail |
---|
public ITIMAgentConnector()
Method Detail |
---|
public void initialize(java.lang.Object aObject) throws java.lang.Exception
initialize
in interface ConnectorInterface
initialize
in class Connector
aObject
- -
ignored
java.lang.Exception
- if a required parameter is missing or the JNDI context
initialization fails.public void selectEntries() throws java.lang.Exception
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
java.lang.Exception
- if the search operation fails.public Entry getNextEntry() throws java.lang.Exception
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
null
if no more entries are
found.
java.lang.Exception
- if an error occurs.ConnectorInterface.selectEntries()
public void putEntry(Entry aEntry) throws java.lang.Exception
putEntry
in interface ConnectorInterface
putEntry
in class Connector
aEntry
- the entry to add
java.lang.Exception
- if an error occurs.public void modEntry(Entry aEntry, SearchCriteria aSearch) throws java.lang.Exception
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- the entry, result of the Output MappingaSearch
- the search criteria used to find the entry in the back-end
server.
java.lang.Exception
- if an error occurs.public void modEntry(Entry aEntry, SearchCriteria aSearch, Entry aOldEntry) throws java.lang.Exception
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- the entry, result of the Output MappingaSearch
- the search criteria used to find the entry in the back-end
server.aOldEntry
- the found entry in the back-end server.
java.lang.Exception
- if the old entry is null
, a distinguished
name is not provided or other type of an error occurs.public void deleteEntry(Entry aEntry, SearchCriteria aSearch) throws java.lang.Exception
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
aEntry
- the entry, result of the Otuput MappingaSearch
- the search criteria used to find the entry to delete.
java.lang.Exception
- if the aEntry
parameter is null
,
the distinguished name is not provided or other type of an
error occurs.public Entry findEntry(SearchCriteria aSearch) throws java.lang.Exception
findEntry
in interface ConnectorInterface
findEntry
in class Connector
aSearch
- the search criteria used to find the entry.
null
.
java.lang.Exception
- if an error occurs.public void terminate()
terminate
in interface ConnectorInterface
terminate
in class Connector
public java.lang.String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |