org.objectweb.perseus.persistence.api
Interface TransactionalPersistenceManager
- PersistenceManager
- TransactionalPersistenceManagerImpl
public interface TransactionalPersistenceManager
It defines a persistence manager able to manage context transactional or not.
- Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)
accessCompletion , close , createWS , createWS , evict , evictAll , export , export , flush , flush , readIntention , readIntention , refresh , refresh , unbind , unbind , unexport , unexport , writeIntention , writeIntention |
prepare
public boolean prepare(TransactionalWorkingSet context)
throws PersistenceException
Prepare the transactinal context.
context
- the
- true if the transaction can be commit or false is the transaction
must be rolled back.
PersistenceException
- if an error raised during the prepare
operation, or if the context is not a transactional context.
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.