|
|||||||||||
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.gla.GLAConnector
public class GLAConnector
This is the GLAConnector class. GLAConnector is used to process a log file and transform its contents to CommonBaseEvent objects. The Connector needs an adapter configuration file to be provided as a Connector parameter. The Connector than uses the GLA run-time to validate and start the given configuration file. The Connector uses a specially made outputter, called TDIOutputter, to receive the generated from the log file CBE objects. The TDIOutputter must be configured to the adapter configuration file. For more information about configuring the Connector and the TDIOutputter refer to the GLAConnector documentation.
Field Summary | |
---|---|
static String |
DEFAULT_CORR_ID
The default correlation ID is used from both the GLAConnector and the TDIOutputter. |
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
GLAConnector()
The GLAConnector constructor. |
Method Summary | |
---|---|
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent |
getCurrentCBEObject()
Returns the last taken CBE object. |
Entry |
getNextEntry()
This method gets the next CBE object from the queue and creates an Entry. |
String |
getVersion()
Returns the connector version. |
void |
initialize(Object obj)
This method initializes the connector parameters. |
void |
selectEntries()
This method starts the Adapter and fills the queue with CBE objects. |
void |
terminate()
Terminates the Connector and unregisters it from the TDIOutputter's Hashtable. |
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, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
Field Detail |
---|
public static final String DEFAULT_CORR_ID
Constructor Detail |
---|
public GLAConnector()
Method Detail |
---|
public void initialize(Object obj) throws Exception
initialize
in interface ConnectorInterface
initialize
in class Connector
obj
- not used.
Exception
- An Exception is thrown if some of the requred parameters is
missing.public void selectEntries() throws Exception
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
Exception
- If the configuration adapter file is not valid or an error
occurs during execution.public Entry getNextEntry() throws Exception
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
Exception
- if an error occurs.ConnectorInterface.selectEntries()
public String getVersion()
getVersion
in interface VersionInfoInterface
public void terminate() throws Exception
terminate
in interface ConnectorInterface
terminate
in class Connector
Exception
- :
neverpublic org.eclipse.hyades.logging.events.cbe.CommonBaseEvent getCurrentCBEObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |