|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.cbe.CBEGeneratorFC
public class CBEGeneratorFC
This class generates objects of type org.eclipse.hyades.logging.events.cbe.CommonBaseEvent from attributes mapped by user to Entry object.
Field Summary |
---|
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
CBEGeneratorFC()
|
Method Summary | |
---|---|
static java.lang.String |
convertCBEEventToXML(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
returns the CBE event as a XMLDocString using org.eclipse.hyades.logging.events.cbe.util.EventFormatter |
static java.lang.String |
getCBELogXml(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event,
boolean isXMLComplete)
Method uses org.eclipse.hyades.logging.java.CommonBaseEventLogRecord to generate log records |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object obj)
This method initializes the eventFactory object used to create the CommonBaseEvent |
static void |
mapCbeToEntry(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent aCbe,
Entry aEntry)
Maps the fields of a Common Base Event object into the attributes of a IBM Tivoli Directory Integrator Entry. |
java.lang.Object |
perform(java.lang.Object obj)
The attributes of the Entry object passed as parameter to this method is mapped to/from a CommonBaseEvent. |
Methods inherited from class com.ibm.di.fc.Function |
---|
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, querySchema, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, terminate, updateSchema, verifyInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CBEGeneratorFC()
Method Detail |
---|
public java.lang.Object perform(java.lang.Object obj) throws java.lang.Exception
obj
- object of type Entry
Entry
java.lang.Exception
- if the user has passed a null or non Entry type object as
parameterpublic java.lang.String getVersion()
public void initialize(java.lang.Object obj) throws java.lang.Exception
initialize
in interface FunctionInterface
initialize
in class Function
obj
-
Exception:
- never.
java.lang.Exception
- An exception is thrown if the initialization fails.public static java.lang.String convertCBEEventToXML(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event) throws java.lang.Exception
event
- CommonBaseEvent
java.lang.Exception
public static java.lang.String getCBELogXml(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event, boolean isXMLComplete) throws java.lang.Exception
event
- CommomnBaseEventisXMLComplete
- returns a complete xml string if true
java.lang.Exception
public static void mapCbeToEntry(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent aCbe, Entry aEntry)
aCbe
- the Common Base Event to be mapped into the EntryaEntry
- the Entry, where will be mapped the fields of the Common Base
Event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |