org.exoplatform.services.jcr.aws.storage.value.s3
Class S3ValueStorage

java.lang.Object
  extended by org.exoplatform.services.jcr.storage.value.ValueStoragePlugin
      extended by org.exoplatform.services.jcr.aws.storage.value.s3.S3ValueStorage
Direct Known Subclasses:
SimpleS3ValueStorage

public abstract class S3ValueStorage
extends ValueStoragePlugin

Version:
$Id: S3ValueStorage.java 21606 2008-10-20 10:44:09Z pnedonosko $
Author:
Andrey Parfonov

Field Summary
static java.lang.String AWS_ACCESS_KEY
           
static java.lang.String AWS_SECRET_ACCESS_KEY
           
protected  java.lang.String awsAccessKey
           
protected  java.lang.String awsSecretAccessKey
           
protected  java.lang.String bucket
           
static java.lang.String BUCKET
           
protected  FileCleaner cleaner
           
protected static org.apache.commons.logging.Log logger
           
static java.lang.String S3_SWAP_DIRECTORY
           
protected  java.io.File s3SwapDirectory
           
 
Fields inherited from class org.exoplatform.services.jcr.storage.value.ValueStoragePlugin
filters, id
 
Constructor Summary
S3ValueStorage()
           
 
Method Summary
 void checkConsistency(WorkspaceStorageConnection dataConnection)
           
 void init(java.util.Properties props)
           
 boolean match(java.lang.String storageId)
           
 
Methods inherited from class org.exoplatform.services.jcr.storage.value.ValueStoragePlugin
getFilters, getId, openIOChannel, setFilters, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.commons.logging.Log logger

BUCKET

public static final java.lang.String BUCKET
See Also:
Constant Field Values

AWS_ACCESS_KEY

public static final java.lang.String AWS_ACCESS_KEY
See Also:
Constant Field Values

AWS_SECRET_ACCESS_KEY

public static final java.lang.String AWS_SECRET_ACCESS_KEY
See Also:
Constant Field Values

S3_SWAP_DIRECTORY

public static final java.lang.String S3_SWAP_DIRECTORY
See Also:
Constant Field Values

bucket

protected java.lang.String bucket

awsAccessKey

protected java.lang.String awsAccessKey

awsSecretAccessKey

protected java.lang.String awsSecretAccessKey

s3SwapDirectory

protected java.io.File s3SwapDirectory

cleaner

protected final FileCleaner cleaner
Constructor Detail

S3ValueStorage

public S3ValueStorage()
Method Detail

init

public void init(java.util.Properties props)
          throws java.io.IOException,
                 RepositoryConfigurationException
Specified by:
init in class ValueStoragePlugin
Throws:
java.io.IOException
RepositoryConfigurationException

checkConsistency

public void checkConsistency(WorkspaceStorageConnection dataConnection)
Specified by:
checkConsistency in class ValueStoragePlugin

match

public boolean match(java.lang.String storageId)
Specified by:
match in class ValueStoragePlugin


Copyright © 2012 eXo Platform SAS. All Rights Reserved.