|
|||||||||||
| 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.JMSConnector
com.ibm.di.connector.disb.DISBConnector
public class DISBConnector
The class DISBConnector facilitates the communication to the Data Integration
Services Bus that will be accessed by IBM Tivoli Directory Integrator. It
extends the JMS connector class (JMSConnector) and overrides some of its
methods to implement DIS-specific functionality.
Note: This class is for internal usage only. Any dependency from the
end-user will not be supported. Changes to this class will happen without a
warning.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.JMSConnector |
|---|
JMS_BROKER, JMS_MESSAGE_PROPERTY, JMS_PASSWORD, JMS_Q_MANAGER, JMS_SERVER_CHANNEL, JMS_SSL_CIPHER, JMS_SSL_SERVER_CHANNEL, JMS_SSL_USE_FLAG, JMS_USERNAME, MESSAGE_ATTRIBUTE |
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
DISBConnector()
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
buildEntryCiAttributes(Entry entry,
HashMap<String,Object> attr,
Attribute entryAttr)
Method populates the Entry with the Configuration items. |
protected void |
buildEntryForOperation(Entry entry,
BaseOperation operation,
Attribute operAttr,
boolean isRefresh)
Method populates the Entry with the configuration items based on the Topic types along with the relationships if existing. |
protected void |
buildEntryForProperties(Entry rcvdEntry,
Entry toBeBuiltEntry,
String[] props,
boolean isAttribute)
Builds the Entry with the JMS properties based on the relevant DISB Topic Types in Iterator mode. |
Entry |
getNextEntry()
Gets the nextEntry attribute of the JMSConnector object |
static ResourceHash |
getResHash()
|
String |
getVersion()
Return version information |
void |
initialize(Object o)
Initialize the Connector |
void |
putEntry(Entry entry)
Send an entry to the JMS server. |
| Methods inherited from class com.ibm.di.connector.JMSConnector |
|---|
acknowledge, entry2message, findEntry, getIBMCharset, getQueue, getReadQueue, getSendQueue, getSession, getTopic, message2entry, onMessage, queryReply, reconnect, selectEntries, setFactory, setReadQueue, setSendQueue, setTopic, terminate |
| 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, queryOperations, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Constructor Detail |
|---|
public DISBConnector()
| Method Detail |
|---|
public void initialize(Object o)
throws Exception
initialize in interface ConnectorInterfaceinitialize in class JMSConnectoro - The mode of the Connector
Exception - if the initialization fails
public Entry getNextEntry()
throws Exception
getNextEntry in interface ConnectorInterfacegetNextEntry in class JMSConnectorException - if the operation does not succeedConnectorInterface.selectEntries()
public void putEntry(Entry entry)
throws Exception
putEntry in interface ConnectorInterfaceputEntry in class JMSConnectorentry - The entry to send
Exception - If the sending of a message fails
protected void buildEntryForProperties(Entry rcvdEntry,
Entry toBeBuiltEntry,
String[] props,
boolean isAttribute)
throws Exception
rcvdEntry - The Entry containing the JMS properties with the prefix ".jms"
for the attribute namestoBeBuiltEntry - The Entry that will contain the message properties with the
prefix ".jms" for the attribute names removed.props - The String array containing the attribute names of the JMS
propertiesisAttribute - Flag that tells whether the property is part of Entry Property
or Attribute.
Exception - If a problem occurs.
protected void buildEntryForOperation(Entry entry,
BaseOperation operation,
Attribute operAttr,
boolean isRefresh)
entry - The Entry that needs to be populated.operation - The DIS model BaseOperation object.operAttr - The Attribute that needs to be populated.instanceTopicMsg - The flag to identify the DIS instance topic.isRefresh - The flag to identify the refresh instance topic object.
protected void buildEntryCiAttributes(Entry entry,
HashMap<String,Object> attr,
Attribute entryAttr)
entry - The Entry that needs to be populated.attr - The HashMap containing the CI AttributesentryAttr - The Attribute that will contain the built attributes.public static ResourceHash getResHash()
public String getVersion()
getVersion in interface VersionInfoInterfacegetVersion in class JMSConnector
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||