How to use different implementations:

ObjectIdAllocator

It manages the allocation of unique object ids.

Parameter: ClassName.

Default value: none (DODS will use StandardObjectIdAllocator).

File: configuration file.

Context: ObjectId.

If this parameter is set to full class name of class that implements ObjectIdAllocator interface, DODS will use this class to create ObjectId Allocator. If parameter is not set, DODS will use default ObjectIdAllocator implementation - StandardObjectIdAllocator.

ConnectionAllocator

Parameter: ConnectionAllocator.

Default value: none (DODS will use StandardConnectionAllocator).

File: configuration file.

Context: DatabaseManager, Database.

If this parameter is set to full class name of class that implements ExtendedConnectionAllocator interface, DODS will use this class to create Connection Allocator. If parameter is not, set DODS will use default ExtendedConnectionAllocator implementation - StandardConnectionAllocator.

Connection

Parameter: ConnectionFactory.

Default value: none (DODS will use StandardDBConnectionFactory).

File: configuration file.

Context: Connection.

If this parameter is set to full class name of class that implements AbstractDBConnectionFactory interface DODS will use this class to create database connection factory. If parameter is not set, DODS will use default AbstractDBConnectionFactory implementation - StandardDBConnectionFactory.

Transaction

Parameter : TransactionFactory.

Default value: none (DODS will use StandardTransactionFactory).

File: configuration file.

Context: DatabaseManager, Database.

If this parameter is set to full class name of class that implements AbstractDBTransactionFactory interface DODS will use this class to create database transaction factory. If parameter is not set, DODS will use default AbstractDBTransactionFactory implementation - StandardDBTransactionFactory.

Cache implementations

Parameter: QueryCacheImplClass.

Default value: none (DODS will use QueryCacheImpl class).

File: configuration file.

Context: DatabaseManager, Database.

If this parameter is set to full class name of class that extends abstract class DataStructCache, DODS will use this class to create data struct cache for xxxDO class. If parameter is not set, DODS will use QueryCacheImpl class as a default.