|
|||||||||||
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,
java.util.HashMap<java.lang.String,java.lang.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,
java.lang.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()
|
java.lang.String |
getVersion()
Return version information |
void |
initialize(java.lang.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(java.lang.Object o) throws java.lang.Exception
initialize
in interface ConnectorInterface
initialize
in class JMSConnector
o
- The mode of the Connector
java.lang.Exception
- if the initialization failspublic Entry getNextEntry() throws java.lang.Exception
getNextEntry
in interface ConnectorInterface
getNextEntry
in class JMSConnector
java.lang.Exception
- if the operation does not succeedConnectorInterface.selectEntries()
public void putEntry(Entry entry) throws java.lang.Exception
putEntry
in interface ConnectorInterface
putEntry
in class JMSConnector
entry
- The entry to send
java.lang.Exception
- If the sending of a message failsprotected void buildEntryForProperties(Entry rcvdEntry, Entry toBeBuiltEntry, java.lang.String[] props, boolean isAttribute) throws java.lang.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.
java.lang.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, java.util.HashMap<java.lang.String,java.lang.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 java.lang.String getVersion()
getVersion
in interface VersionInfoInterface
getVersion
in class JMSConnector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |