|
|||||||||||
| 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 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 String |
getCBELogXml(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event,
boolean isXMLComplete)
Method uses org.eclipse.hyades.logging.java.CommonBaseEventLogRecord to generate log records |
String |
getVersion()
Version information. |
void |
initialize(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. |
Object |
perform(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 Object perform(Object obj)
throws Exception
obj - object of type Entry
Entry
Exception - if the user has passed a null or non Entry type object as
parameterpublic String getVersion()
public void initialize(Object obj)
throws Exception
initialize in interface FunctionInterfaceinitialize in class Functionobj -
Exception: - never.
Exception - An exception is thrown if the initialization fails.
public static String convertCBEEventToXML(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
throws Exception
event - CommonBaseEvent
Exception
public static String getCBELogXml(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event,
boolean isXMLComplete)
throws Exception
event - CommomnBaseEventisXMLComplete - returns a complete xml string if true
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 | ||||||||||