Class S3ServiceEventAdaptor

java.lang.Object
org.jets3t.service.multi.StorageServiceEventAdaptor
org.jets3t.service.multi.s3.S3ServiceEventAdaptor
All Implemented Interfaces:
S3ServiceEventListener, StorageServiceEventListener

public class S3ServiceEventAdaptor extends StorageServiceEventAdaptor implements S3ServiceEventListener
Simple implementation of S3ServiceEventListener to listen for events produced by ThreadedS3Service and ThreadedStorageService.

By default this adaptor does nothing but store the first Error event it comes across, if any, and make it available through StorageServiceEventAdaptor.getErrorThrown().

The behaviour of this class can be specialised by over-riding the appropriate event methods, though always be sure to call the super version of these methods if you are relying on the default error-trapping functions of this class.

Author:
James Murty