|
||||||||||
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.LogConnector
public class LogConnector
This class implements a Connector that interfaces with the LogInterface. The class only supports AddOnly Mode.
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
LogConnector()
The constructor for this class |
Method Summary | |
---|---|
LogInterface |
getLogger()
Returns the LogInterface we are logging to |
java.lang.String |
getVersion()
Return version information |
void |
initialize(java.lang.Object o)
Initializes the Connector. |
void |
putEntry(Entry entry)
Log a single Entry to the log |
void |
terminate()
Terminates the Connector and tries to free up resources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogConnector()
Method Detail |
---|
public void initialize(java.lang.Object o) throws java.lang.Exception
initialize
in interface ConnectorInterface
initialize
in class Connector
o
- -
Ignored
java.lang.Exception
- if an error occurs.public void putEntry(Entry entry) throws java.lang.Exception
putEntry
in interface ConnectorInterface
putEntry
in class Connector
entry
- The entry with the information to log
java.lang.Exception
- if an error occurspublic void terminate()
terminate
in interface ConnectorInterface
terminate
in class Connector
public LogInterface getLogger()
public java.lang.String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |