Access

public interface Access extends UseCacheResource

Access Interface.

The access object is part of a Transactions state and it is the glue between the Transaction and the actual backend implementation of those transactions. It represents different levels of access (RO, RW) and provides all the helper objects shared by all the single calls to the backend (package …/database/backend/implementation/…).

It is further used to commit or roll-back the owning transaction.

The DatabaseAccessManager issues the Access to a requesting Transaction.

Author:

Timm Fitschen

See also: {@linkTransaction}, {@linkDatabaseAccessManager}

Methods

commit

public abstract void commit()

getHelper

public abstract DBHelper getHelper(String name)

release

public abstract void release()

setHelper

public abstract void setHelper(String name, DBHelper helper)