atg.adapter.gsa
Class DB2DBCopier

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.adapter.gsa.DBCopier
              extended by atg.adapter.gsa.DB2DBCopier
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener

public class DB2DBCopier
extends DBCopier

A DB copier for DB2 databases. This copier uses the DB2 exp and imp utilities. This copier can optionally use direct path for exporting, as configured by the property useDirectPathForExport, which defaults to false. See your DB2 documentation for more information on using direct path with the exp utility.

See Also:
DBCopier

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
DB2DBCopier()
           
 
Method Summary
 void doStartService()
          Start the service.
 boolean getUseUnixStyleDir()
          true means that directories use \, false means that they use /
 void setUseUnixStyleDir(boolean pUseUnixStyleDir)
          the directory that LOBS are exported to is ended with a slash which is platform dependent
 
Methods inherited from class atg.adapter.gsa.DBCopier
cleanupDirectory, copy, getCleanupDirectory, getCommandOutput, getDataFileSuffix, getDeleteDataFileName, getDestination, getDirectory, getExportCommand, getImportCommand, getSource, getSqlCommand, getTables, isCleanupDirectory, setCleanupDirectory, setDataFileSuffix, setDeleteDataFileName, setDestination, setDirectory, setExportCommand, setImportCommand, setSource, setSqlCommand, setTables
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

DB2DBCopier

public DB2DBCopier()
Method Detail

setUseUnixStyleDir

public void setUseUnixStyleDir(boolean pUseUnixStyleDir)
the directory that LOBS are exported to is ended with a slash which is platform dependent

Parameters:
pUseUnixStyleDir -

getUseUnixStyleDir

public boolean getUseUnixStyleDir()
true means that directories use \, false means that they use /

Returns:
true if directories are separated with \, false if they are separated by /

doStartService

public void doStartService()
Start the service. Not much happens here.

Overrides:
doStartService in class GenericService