|
||||||||||
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 ITDI Connector API and the ITIM DAML JNDI package. Rather than using the built-in ITDI 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 critera. |
Entry |
getNextEntry()
Retrieves the next Entry object from the search results. |
String |
getVersion()
|
void |
initialize(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(Object aObject) throws Exception
initialize
in interface ConnectorInterface
initialize
in class Connector
aObject
- User provided parameter
Exception
public void selectEntries() throws Exception
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
Exception
public Entry getNextEntry() throws Exception
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
Exception
Connector.selectEntries()
public void putEntry(Entry aEntry) throws Exception
putEntry
in interface ConnectorInterface
putEntry
in class Connector
aEntry
- The entry data to add
Exception
- Any exceptions thrown by the connector's underlying classespublic void modEntry(Entry aEntry, SearchCriteria aSearch) throws Exception
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic void modEntry(Entry aEntry, SearchCriteria aSearch, Entry aOldEntry) throws Exception
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be modifiedaOldEntry
- The old entry found by the search criteria
Exception
- Any exceptions thrown by the connector's underlying classespublic void deleteEntry(Entry aEntry, SearchCriteria aSearch) throws Exception
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
aEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be deleted
Exception
- Any exceptions thrown by the connector's underlying classespublic Entry findEntry(SearchCriteria aSearch) throws Exception
findEntry
in interface ConnectorInterface
findEntry
in class Connector
aSearch
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic void terminate()
terminate
in interface ConnectorInterface
terminate
in class Connector
public String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |