sf logo

Package sf.qof.session

Provides classes, interfaces for session and transaction handling.

See:
          Description

Interface Summary
SessionContext Defines methods for session handling.
SessionRunner<T> The SessionRunner interface should be implemented for code that runs in a session context.
TransactionRunnable<T> The TransactionRunnable interface should be implemented for code that needs to be run in a transactional context.
UserTransaction Defines the methods that allow an application to explicitly manage transaction boundaries.
 

Class Summary
BaseSessionRunner<T> Abstract base class for implementing a SessionRunner.
DefaultSessionRunner<T> DefaultSessionRunner is the default implementation that runs a TransactionRunnable in a session context.
RetrySessionRunner<T> RetrySessionRunner is an implementation of SessionRunner that runs a TransactionRunnable in a session context and retries if an error occured.
SessionContextFactory Implementation of a session context factory.
SessionContextFactory.DefaultSessionContext Internal implementation of SessionContext.
SessionContextFactory.DefaultUserTransaction Internal implementation of UserTransaction.
 

Exception Summary
RollbackException The RollbackTransaction is thrown to indicate that the transaction has been rolled back rather than committed.
SystemException The SystemException is thrown by the transaction and session manager to indicate that it has encountered an unexpected error condition that prevents future transaction services from proceeding.
 

Annotation Types Summary
UseSessionContext Specifies that the connection of the query object should be aquired from a session context.
 

Package sf.qof.session Description

Provides classes, interfaces for session and transaction handling.

Since:
1.0.0

sf logo

Copyright © 2007 brunella ltd. All Rights Reserved.