|
|||||||||||
| 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.IdMLConnector
public class IdMLConnector
This Connector is used for adding Configuration Items(CIs)/ Relationships to an IdML book.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
IdMLConnector()
Constructor. |
|
| Method Summary | |
|---|---|
String |
checkDbConnection()
Checks if with the currently configured IT registry properties, a connection to the IT registry can be established. |
String |
getCdmVersion()
Returns the version of the CDM that this Connector is using. |
String |
getDbUsername()
This method returns the username for connecting to the IT registry used by the Connector. |
String |
getJdbcDriver()
This method returns the JDBC Driver used by the Connector. |
String |
getJdbcUrl()
This method returns the JDBC Url used by the Connector. |
Map<String,Object> |
getTypes()
Returns the types of CIs/Relationships available for this Connector. |
String |
getVersion()
Version information. |
void |
initialize(Object obj)
Initialize the connector. |
Entry |
queryReply(Entry aEntry)
Adds the CI/Relationship to the IdML book. |
Object |
querySchema(Object input)
This method displays the attributes supported by a chosen CI/Relationship. |
String |
resetBook()
Returns the current contents of the in-memory IdML book and emties the buffer. |
| 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, getNextEntry, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, reconnect, registerScriptBeans, replyEntry, selectEntries, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminate, terminateServer |
| Constructor Detail |
|---|
public IdMLConnector()
| Method Detail |
|---|
public void initialize(Object obj)
throws Exception
initialize in interface ConnectorInterfaceinitialize in class Connectorobj - User provided parameter
Exception - if the initialization of this connector fails.
public Entry queryReply(Entry aEntry)
throws Exception
queryReply in interface ConnectorInterfacequeryReply in class ConnectoraEntry - the work entry passed to the Connector.
if - a problem occurs.
Exception - if an error occurs.
public Object querySchema(Object input)
throws Exception
querySchema in interface ConnectorInterfacequerySchema in class Connectorinput - entry object
if - a problem occurs.
Exception - if an error while retrieving the schema occurs.Entry,
Vectorpublic String getVersion()
getVersion in interface VersionInfoInterfacepublic String getJdbcUrl()
public String getJdbcDriver()
public String getDbUsername()
public String checkDbConnection()
IOException - if a problem occurs.
public String getCdmVersion()
throws Exception
Exception - if a problem occurs.
public Map<String,Object> getTypes()
throws Exception
Exception - if a problem occurs.
public String resetBook()
throws IOException
IOException - if a problem occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||