java.lang.Object
com.flexstor.flexdbserver.services.ServiceManager
com.flexstor.flexdbserver.services.checkincheckout.CheckOutServiceManager
- All Implemented Interfaces:
- com.flexstor.common.threadmgr.ThreadConsumerI
- public class CheckOutServiceManager
- extends com.flexstor.flexdbserver.services.ServiceManager
CheckOutServiceManager provides functionality to control the
sequencial execution of Services during the check-in process
| Fields inherited from class com.flexstor.flexdbserver.services.ServiceManager |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
sServerName
protected java.lang.String sServerName
data
protected com.flexstor.common.data.ActionData data
vRecords
protected java.util.Vector vRecords
vGoodRecords
protected java.util.Vector vGoodRecords
vBadRecords
protected java.util.Vector vBadRecords
sSourcePath
protected java.lang.String sSourcePath
sSourceServer
protected java.lang.String sSourceServer
sSourceLocation
protected java.lang.String sSourceLocation
bIsLocationInServer
protected boolean bIsLocationInServer
bIsLocInFlexDBServer
protected boolean bIsLocInFlexDBServer
bKeepResourceFork
protected boolean bKeepResourceFork
bIsMacBinaryFormat
protected boolean bIsMacBinaryFormat
bIsMacBinaryInTemp
protected boolean bIsMacBinaryInTemp
bRunRemote
protected boolean bRunRemote
fileSeparator
protected java.lang.String fileSeparator
sTempDir
protected java.lang.String sTempDir
tempDataCopy
protected com.flexstor.common.data.ActionData tempDataCopy
tempDataRsrc
protected com.flexstor.common.data.ActionData tempDataRsrc
CheckOutServiceManager
public CheckOutServiceManager(java.lang.String sIdentifier,
com.flexstor.common.data.ActionData data,
com.flexstor.common.threadmgr.ThreadCallbackI caller)
execute
public com.flexstor.common.data.ActionResult execute()
throws java.lang.InterruptedException
- Main loop for sequencial execution of Services.
updateURLs
private void updateURLs()
- Method updateURLs will process each record and update the URL_STRING for each,
adding the filename to the URL_STRING base that was given to us by the client.
getResultObjectOnAbnormalEnding
protected com.flexstor.common.data.ActionResult getResultObjectOnAbnormalEnding()
- Description copied from class:
com.flexstor.flexdbserver.services.ServiceManager
- This method need to be implemented for all subclasses to return the proper
result object if the execution of the service manager ends abnormally (due
to a non-catch exception inside the service manager.
RsrcForkCopy
private void RsrcForkCopy()
doRegularCopy
private void doRegularCopy()
executeService
private com.flexstor.common.data.ActionResult executeService(java.lang.String sServiceName,
com.flexstor.common.data.ActionData data)