Package com.sap.tc.mobile.session.api

Abstract session handling.

See:
          Description

Interface Summary
Subtransaction Subtransaction interface.
 

Class Summary
Session Application session.
 

Package com.sap.tc.mobile.session.api Description

Abstract session handling.

This package generalizes session handling. Each user session (e.g., application or background process) holds a Session object, which manages used modules in this session.

For example, persistence manager is one module, synchronization another. Instances of these modules will be created on-demand on this session and destroyed after session ends.

Session is transactional. Each module should use persistence facilities of underlying data store and not persist data by itself. Persistence manager can and should be obtained using standardized means in session module initialization. Please see configuration session module implementation for an example of how to get persistence manager.

Generally, there is 1:1 mapping of threads and Session instances.

Please refer to com.sap.ip.mi.api.session.Session and session handling for more information.