next up previous contents
Next: Parameters Up: Catalog Commands Previous: Catalog Commands   Contents

registerFile

public java.net.URI registerFile(java.net.URI file,
                                 java.net.URI logicalName)

Register a file in the Replica Catalog that is already stored on a Storage Element. It takes two arguments: source file and logical name. The source file needs to be a qualified storage file name URI, following the rule srm://storage.element.host/path/file.name The logical name is optional, it may declare a logical identifier that can be used later to look up any instance of the file. The method returns the GUID, the Grid Unique IDentifier of the file. The detailed semantics are:

This method does not include any data movement (i.e. the storage file is not copied) and assumes that the storage file is already located at a known Storage Element.


next up previous contents
Next: Parameters Up: Catalog Commands Previous: Catalog Commands   Contents
2004-06-14