Class DB2DBCopier

  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:

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
Fields inherited from class atg.nucleus.GenericService
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
Constructor Summary
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


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

See Also:
Constant Field Values
Constructor Detail


public DB2DBCopier()
Method Detail


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

pUseUnixStyleDir -


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

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


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

doStartService in class GenericService