goldengate.ftp.exec.control
Class GoldenGateActionLogger

java.lang.Object
  extended by goldengate.ftp.exec.control.GoldenGateActionLogger

public class GoldenGateActionLogger
extends Object

Class to help to log any actions through the interface of GoldenGate

Author:
Frederic Bregier

Constructor Summary
GoldenGateActionLogger()
           
 
Method Summary
static long logAction(goldengate.common.database.DbSession ftpSession, long specialId, String message, goldengate.ftp.core.control.BusinessHandler handler, goldengate.common.command.ReplyCode rcode, goldengate.common.database.data.AbstractDbData.UpdatedInfo info)
          Log the action
static long logCreate(goldengate.common.database.DbSession ftpSession, String message, String file, goldengate.ftp.core.control.BusinessHandler handler)
          Log the action
static void logErrorAction(goldengate.common.database.DbSession ftpSession, long specialId, goldengate.ftp.core.data.FtpTransfer transfer, String message, goldengate.common.command.ReplyCode rcode, goldengate.ftp.core.control.BusinessHandler handler)
          Log the action in error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoldenGateActionLogger

public GoldenGateActionLogger()
Method Detail

logCreate

public static long logCreate(goldengate.common.database.DbSession ftpSession,
                             String message,
                             String file,
                             goldengate.ftp.core.control.BusinessHandler handler)
Log the action

Parameters:
ftpSession -
message -
file -
handler -

logAction

public static long logAction(goldengate.common.database.DbSession ftpSession,
                             long specialId,
                             String message,
                             goldengate.ftp.core.control.BusinessHandler handler,
                             goldengate.common.command.ReplyCode rcode,
                             goldengate.common.database.data.AbstractDbData.UpdatedInfo info)
Log the action

Parameters:
ftpSession -
specialId -
message -
handler -
rcode -
info -

logErrorAction

public static void logErrorAction(goldengate.common.database.DbSession ftpSession,
                                  long specialId,
                                  goldengate.ftp.core.data.FtpTransfer transfer,
                                  String message,
                                  goldengate.common.command.ReplyCode rcode,
                                  goldengate.ftp.core.control.BusinessHandler handler)
Log the action in error

Parameters:
ftpSession -
specialId -
transfer -
message -
rcode -
handler -


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.