SMILA 1.0 API documentation

org.eclipse.smila.binarystorage.persistence
Class BinaryPersistenceFactory

java.lang.Object
  extended by org.eclipse.smila.binarystorage.persistence.BinaryPersistenceFactory

public class BinaryPersistenceFactory
extends java.lang.Object

Factory class providing with appropriate implementation of binary storage : file system or binary object persistence.

Author:
mcimpean

Method Summary
static BinaryPersistence newImplInstance(BinaryStorageConfiguration configuration)
          Creates concrete BinaryPersistence implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newImplInstance

public static BinaryPersistence newImplInstance(BinaryStorageConfiguration configuration)
                                         throws BinaryStorageException
Creates concrete BinaryPersistence implementation.

Parameters:
configuration -
Returns:
BinaryPersistence
Throws:
BinaryStorageException - - in case BinaryPersistence implementation is not configured

SMILA 1.0 API documentation