All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.sendFileTransferProtocolFactory.exsd Maven / Gradle / Ivy

There is a newer version: 0.3
Show newest version




      
         
      
      
         This extension point allows IRetrieveFileTransferFactorys to be defined for given file transfer protocols.
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
            
         
         
            
               
                  
               
               
                  
               
            
         
      
   

   
      
         
            Send  file transfer protocol factory extention point
         
      
      
         
            
               
                  Protocol to define factory for.  For example, http, https, ftp, bittorrent, my.favorite.protocol.
               
            
         
         
            
               
                  The factory class to use for given protocol.  Must implement <b>org.eclipse.ecf.filetransfer.service.ISendFileTransferFactory</b>
               
               
                  
               
            
         
         
            
               
                  Priority relative to other sendFileTransferProtocolFactory extensions.  Valid priorities are 0 (highest priority) to 100 (lowest priority).  If this optional attribute is not specified, it will automatically be assigned a default priority of 100.
               
            
         
         
            
               
                  Flag to indicate that the protocol factory will use URIs (rather than URLs...which is the default).  True indicates that URIs will be used, and *no* URLStreamHandler will be registered for the associated protocol.  If false, URLs will be used and an URLStreamHandler will be registered for the given protocol factory.  NOTE:  If this flag is true, providers that attempt to access IFileID.getURL() may be unable to do so, since the URI may not be successfully parsed as a URL.
               
            
         
      
   

   
      
         
      
      
         1.0.0
      
   

   
      
         
      
      
         <pre>
   <extension
         point="org.eclipse.ecf.provider.filetransfer.sendFileTransferProtocolFactory">
      <sendFileTransferProtocolFactory
            class="org.eclipse.ecf.provider.filetransfer.ssh.ScpOutgoingFileTransferFactory"
            protocol="scp"
            priority="50">
      </sendFileTransferProtocolFactory>
   </extension>

</pre>
      
   

   
      
         
      
      
         Here is the <b>org.eclipse.ecf.filetransfer.service.IRetrieveFileTransferFactory</b>

<pre>
/**
 * Retrieve file transfer factory. This service interface is used by clients to
 * create a new IRetrieveFileTransfer instance.
 */
public interface IRetrieveFileTransferFactory {

 /**
  * Get new instance of IRetrieveFileTransfer.
  * 
  * @return IRetrieveFileTransfer for a given file transfer
  */
 public IRetrieveFileTransfer newInstance();

}
</pre>
      
   

   
      
         
      
      
         None
      
   

   
      
         
      
      
         Copyright (c) 2004 Composent, Inc., IBM and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.  Contributors:  Composent, Inc. - initial API and implementation, IBM, Inc. - Initial API and implementation
      
   






© 2015 - 2024 Weber Informatics LLC | Privacy Policy