org.jrdf.util.bdb
Interface BdbEnvironmentHandler

All Known Implementing Classes:
BdbEnvironmentHandlerImpl

public interface BdbEnvironmentHandler


Method Summary
<T,A,U extends A>
Map<T,U>
createMap(com.sleepycat.je.Database database, Class<T> clazz1, Class<A> clazz2)
           
<T> SortedSet<T>
createSet(com.sleepycat.je.Database database, Class<T> clazz)
           
 com.sleepycat.bind.serial.StoredClassCatalog setupCatalog(com.sleepycat.je.Environment env, String classCatalogString, com.sleepycat.je.DatabaseConfig dbConfig)
           
 com.sleepycat.je.Database setupDatabase(com.sleepycat.je.Environment env, String dbName, com.sleepycat.je.DatabaseConfig dbConfig)
           
 com.sleepycat.je.DatabaseConfig setUpDatabaseConfig(boolean transactional)
           
 com.sleepycat.je.Environment setUpEnvironment()
           
 

Method Detail

setUpEnvironment

com.sleepycat.je.Environment setUpEnvironment()
                                              throws com.sleepycat.je.DatabaseException
Throws:
com.sleepycat.je.DatabaseException

setUpDatabaseConfig

com.sleepycat.je.DatabaseConfig setUpDatabaseConfig(boolean transactional)

setupCatalog

com.sleepycat.bind.serial.StoredClassCatalog setupCatalog(com.sleepycat.je.Environment env,
                                                          String classCatalogString,
                                                          com.sleepycat.je.DatabaseConfig dbConfig)
                                                          throws com.sleepycat.je.DatabaseException
Throws:
com.sleepycat.je.DatabaseException

setupDatabase

com.sleepycat.je.Database setupDatabase(com.sleepycat.je.Environment env,
                                        String dbName,
                                        com.sleepycat.je.DatabaseConfig dbConfig)
                                        throws com.sleepycat.je.DatabaseException
Throws:
com.sleepycat.je.DatabaseException

createSet

<T> SortedSet<T> createSet(com.sleepycat.je.Database database,
                           Class<T> clazz)

createMap

<T,A,U extends A> Map<T,U> createMap(com.sleepycat.je.Database database,
                                     Class<T> clazz1,
                                     Class<A> clazz2)