org.apache.oodt.cas.filemgr.datatransfer
Class InPlaceDataTransferer

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer
All Implemented Interfaces:
DataTransfer

public class InPlaceDataTransferer
extends Object
implements DataTransfer

Version:
$Revision: 13181 $

An implementation of the DataTransfer interface that leaves products in the same place (i.e., "in place") and doesn't transfer them at all.

Author:
mattmann

Field Summary
 
Fields inherited from interface org.apache.oodt.cas.filemgr.datatransfer.DataTransfer
X_POINT_ID
 
Constructor Summary
InPlaceDataTransferer()
           Default Constructor
 
Method Summary
 void setFileManagerUrl(URL url)
           
 void transferProduct(Product product)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InPlaceDataTransferer

public InPlaceDataTransferer()

Default Constructor

Method Detail

setFileManagerUrl

public void setFileManagerUrl(URL url)
Specified by:
setFileManagerUrl in interface DataTransfer
Parameters:
url - The URL to the File Manager that this transferer will be transferring Products to.

transferProduct

public void transferProduct(Product product)
                     throws DataTransferException,
                            IOException
Specified by:
transferProduct in interface DataTransfer
Parameters:
product - The product that is being transferred. The product should have both its origFileLocation, as well as its dataStoreRefs filled in to perform the transfer.
Throws:
DataTransferException - If a general error occurs during the transfer.
IOException - If there is an IO eerror when performing the transfer.


Copyright © 1999-2011 Apache OODT. All Rights Reserved.