Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.threetier
Class ClientSession

`java.lang.Object
AbstractSession
oracle.toplink.threetier.ClientSession`

public class ClientSession
extends AbstractSession

Purpose: Acts as a client to the server session.

Description: This session is brokered by the server session for use in three-tiered applications. It is used to store the context of the connection, i.e. the login to be used for this cleint. This allows each client connected to the server to contain its own user login.

Responsibilities:

- Allow units of work to be acquired and pass them the client login's exclusive connection.
- Forward all requests and queries to its parent server session.

This class is an implementation of `Session`. Please refer to that class for a full API. The public interface should be used.

See Also:
  `Server`, `UnitOfWork`, Serialized Form

Method Summary
`ConnectionPolicy` | `getConnectionPolicy()` ADVANCED: This method will return the connection policy that was used during the acquisition of this client session.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### getConnectionPolicy

    public ConnectionPolicy getConnectionPolicy()

  ADVANCED: This method will return the connection policy that was used during the acquisition of this client session. The properties within the ConnectionPolicy may be used when acquiring an exclusive connection for an IsolatedSession.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD