org.objectweb.perseus.persistence.api
Interface ConnectionHolder
- TransactionalConnectionHolder
public interface ConnectionHolder
The aim of a ConnectionHolder is to provide a way to find a connection to
the data support. For example a previous used connection can be encapsulted
in a ConnectionHolder in order to reuse it.
- S.Chassande-Barrioz
bindWorkingSet
public void bindWorkingSet(WorkingSet ws)
getCHConnectionForRead
public Object getCHConnectionForRead()
throws PersistenceException
Retrieves a connection to access data on the support for a read action.
PersistenceException
- if it is not possible to find a connection
getCHConnectionForWrite
public Object getCHConnectionForWrite()
throws PersistenceException
Retrieves a connection to access data on the support for a write action.
PersistenceException
- if it is not possible to find a connection
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.