|
|||||||||||
| 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.ITRegistryConnector
public class ITRegistryConnector
This Connector will add a CI (Configuration Item) or a Relationship to a
centralized IT registry database. It depends upon IT registry for working
properly.
This Connector supports three modes:
Note: The IT registry API uses multiple maps without generic types which cause multiple warnings.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
ITRegistryConnector()
Constructor which populates the modes supported by the Connector. |
|
| Method Summary | |
|---|---|
java.lang.String |
checkDbConnection()
Checks if with the currently configured properties, a connection to the IT registry database can be established. |
Entry |
findEntry(SearchCriteria searchCrit)
This will return an Entry (CI\Relationship) based on the conditions specified in the Link Criteria of the Connector. |
java.lang.String |
getAttributeFilter()
Returns the attribute filter configured for an IT registry Ci and Relationship Connector in Iterator mode. |
java.lang.String |
getCdmVersion()
Returns the version of the CDM that this Connector is using. |
java.lang.String |
getDateFilter()
Returns the date filter configured for an IT registry Ci and Relationship Connector in Iterator mode. |
java.lang.String |
getDbUsername()
Returns the username for connection to the IT registry database. |
java.lang.String |
getJdbcDriver()
Returns the JDBC driver for connection to the IT registry database. |
java.lang.String |
getJdbcUrl()
Returns the JDBC URL for connection to the IT registry database. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getMSS()
Returns the Management Software Systems (MSSs) present in IT registry database. |
Entry |
getNextEntry()
This method returns a single entry object for a CI\Relationship searched as per criteria. |
java.util.Map<java.lang.String,java.lang.Object> |
getTypes()
Returns the types of CIs/Relationships available for this Connector. |
java.lang.String |
getUseITRegistry()
Returns whether the Connector relies on a IT registry for its meta-data. |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object entry)
This standard method initializes the Connector with values present in its Configuration panel. |
Entry |
queryReply(Entry entry)
This method is invoke for CallReply mode. |
java.lang.Object |
querySchema(java.lang.Object arg0)
This method populates Output Map for CallReply mode and Input Map for Iterator\Lookup mode. |
void |
selectEntries()
This is preparation method for Iterator mode. |
void |
terminate()
This method will close Connection to the IT registry database and shutdown NRS service. |
| 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, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Constructor Detail |
|---|
public ITRegistryConnector()
| Method Detail |
|---|
public java.lang.String getDbUsername()
public java.lang.String getJdbcDriver()
public java.lang.String getJdbcUrl()
public java.lang.String getUseITRegistry()
public void initialize(java.lang.Object entry)
throws java.lang.Exception
IdMLConstants.IT_REGISTRY_PROPERTIES_FILE file.
initialize in interface ConnectorInterfaceinitialize in class Connectorentry - initial entry provided to the Connector.
java.lang.Exception - if a problem occurs.
public java.lang.Object querySchema(java.lang.Object arg0)
throws java.lang.Exception
querySchema in interface ConnectorInterfacequerySchema in class Connectorarg0 - an object parameter not used by this method.
null, since the Connector handles the schema
population on its own.
java.lang.Exception - if a problem occurs.Entry,
Vector
public Entry queryReply(Entry entry)
throws java.lang.Exception
queryReply in interface ConnectorInterfacequeryReply in class Connectorentry - entry mapped in the Output Map of the FC.
java.lang.Exception - If Book Name is not supplied. If MSS Guid is not supplied. If
operation is not supplied.
public void selectEntries()
throws java.lang.Exception
selectEntries in interface ConnectorInterfaceselectEntries in class Connectorjava.lang.Exception - if a problem occurs.
public Entry getNextEntry()
throws java.lang.Exception
getNextEntry in interface ConnectorInterfacegetNextEntry in class Connectorjava.lang.Exception - if an error occurs.ConnectorInterface.selectEntries()
public Entry findEntry(SearchCriteria searchCrit)
throws java.lang.Exception
findEntry in interface ConnectorInterfacefindEntry in class ConnectorsearchCrit - the search criteria.
java.lang.Exception - if a problem occurs.
public void terminate()
throws java.lang.Exception
terminate in interface ConnectorInterfaceterminate in class Connectorjava.lang.Exception - if a problem occur.public java.lang.String checkDbConnection()
public java.util.Map<java.lang.String,java.lang.Object> getTypes()
throws java.lang.Exception
java.lang.Exception - if a problem occurs.
public java.lang.String getCdmVersion()
throws java.lang.Exception
java.lang.Exception - if a problem occurs.public java.lang.String getVersion()
getVersion in interface VersionInfoInterfacepublic java.lang.String getAttributeFilter()
public java.lang.String getDateFilter()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getMSS()
throws java.lang.Exception
java.lang.Exception - if a problem occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||