|
|||||||||||
| 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.ServerNotificationsConnector
public class ServerNotificationsConnector
The Connector listens for local or remote Server API notifications depending on the mode selected by setting a Connector parameter. In remote mode the Connector hooks into remote TDI systems and registers for notifications. In local mode the Connector registers for Server API notifications emitted in the TDI JVM - the notifications can be emitted by the Server API layer. When the Connector receives a notification it stores it into an internal Connector buffer for later retrieval by the standard getNextEntry() Connector method which is called by the AssemblyLine for Connectors in Iterator mode.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
ServerNotificationsConnector()
Constructor for the ServerNotificationListenerConnector object |
|
| Method Summary | |
|---|---|
Entry |
getNextEntry()
Gets the next notification object |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object aObj)
Reads connector parameter's values and initialize the Connector. |
void |
putEntry(Entry entry)
Emits a custom Server API notification |
void |
terminate()
Terminate the connector. |
| 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, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, selectEntries, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Constructor Detail |
|---|
public ServerNotificationsConnector()
| Method Detail |
|---|
public void initialize(java.lang.Object aObj)
throws java.lang.Exception
initialize in interface ConnectorInterfaceinitialize in class ConnectoraObj - Null, Socket or ConnectorMode class
java.lang.Exception - If invalid Connector parameter values are supplied.
public Entry getNextEntry()
throws java.lang.Exception
getNextEntry in interface ConnectorInterfacegetNextEntry in class Connectorjava.lang.Exception - If retrieving the next Entry fails.ConnectorInterface.selectEntries()
public void putEntry(Entry entry)
throws java.lang.Exception
putEntry in interface ConnectorInterfaceputEntry in class Connectorentry - The entry that holds the notification data
java.lang.Exception - If emiting notification fails.
public void terminate()
throws java.lang.Exception
terminate in interface ConnectorInterfaceterminate in class Connectorjava.lang.Exception - If terminate fails.public java.lang.String getVersion()
getVersion in interface VersionInfoInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||