Uses of Interface
org.apache.camel.component.file.GenericFileOperations

Packages that use GenericFileOperations
org.apache.camel.component.file The File Component for working with file systems. 
org.apache.camel.component.file.strategy Strategies for the File Component. 
 

Uses of GenericFileOperations in org.apache.camel.component.file
 

Classes in org.apache.camel.component.file that implement GenericFileOperations
 class FileOperations
          File operations for File.
 

Fields in org.apache.camel.component.file declared as GenericFileOperations
protected  GenericFileOperations<T> GenericFileProducer.operations
           
protected  GenericFileOperations<T> GenericFileConsumer.operations
           
 

Methods in org.apache.camel.component.file with parameters of type GenericFileOperations
 boolean GenericFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, Exchange exchange)
          Acquires exclusive read lock to the file.
 boolean GenericFileProcessStrategy.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
          Called when work is about to begin on this file.
 void GenericFileProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
          Releases any file locks and possibly deletes or moves the file after successful processing
 void GenericFileProcessStrategy.prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)
          Allows custom logic to be run on startup preparing the strategy, such as removing old lock files etc.
 void GenericFileExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)
          Allows custom logic to be run on startup preparing the strategy, such as removing old lock files etc.
 void GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, Exchange exchange)
          Releases the exclusive read lock granted by the acquireExclusiveReadLock method.
 void GenericFileProcessStrategy.rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
          Releases any file locks and possibly deletes or moves the file after unsuccessful processing
 

Constructors in org.apache.camel.component.file with parameters of type GenericFileOperations
FileConsumer(GenericFileEndpoint<File> endpoint, Processor processor, GenericFileOperations<File> operations)
           
GenericFileConsumer(GenericFileEndpoint<T> endpoint, Processor processor, GenericFileOperations<T> operations)
           
GenericFileOnCompletion(GenericFileEndpoint<T> endpoint, GenericFileOperations<T> operations, GenericFile<T> file, String originalFileName)
           
GenericFileProducer(GenericFileEndpoint<T> endpoint, GenericFileOperations<T> operations)
           
 

Uses of GenericFileOperations in org.apache.camel.component.file.strategy
 

Methods in org.apache.camel.component.file.strategy with parameters of type GenericFileOperations
 boolean MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, Exchange exchange)
           
 boolean FileLockExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, Exchange exchange)
           
 boolean FileChangedExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, Exchange exchange)
           
 boolean GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, Exchange exchange)
           
 boolean GenericFileRenameProcessStrategy.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 boolean GenericFileProcessStrategySupport.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 void GenericFileRenameProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 void GenericFileProcessStrategySupport.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 void GenericFileDeleteProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 void MarkerFileExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)
           
 void FileLockExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)
           
 void FileChangedExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)
           
 void GenericFileRenameExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)
           
 void GenericFileProcessStrategySupport.prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)
           
 void MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, Exchange exchange)
           
 void FileLockExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, Exchange exchange)
           
 void GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, Exchange exchange)
           
 void GenericFileRenameProcessStrategy.rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 void GenericFileProcessStrategySupport.rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, Exchange exchange, GenericFile<T> file)
           
 



Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.