Package com.documentum.fc.client

# Class DfDefaultSessionManagerEventListener

java.lang.Object
com.documentum.fc.client.DfDefaultSessionManagerEventListener

All Implemented Interfaces:
  `IDfSessionManagerEventListener`

public class DfDefaultSessionManagerEventListener extends Object implements IDfSessionManagerEventListener

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DfDefaultSessionManagerEventListener()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onSessionCreate(IDfSession session)`
  This method is called only when session manager has to create a new session object.
  `void`
  `onSessionDestroy(IDfSession session)`
  This method is called when session manager is going to disconnect the given session.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DfDefaultSessionManagerEventListener

    public DfDefaultSessionManagerEventListener()

- ## Method Details

  - ### onSessionCreate

    public void onSessionCreate(IDfSession session) throws DfException
    This method is called only when session manager has to create a new session object. It allows a client to set some client specific session configuration parameters.
    Specified by:
      `onSessionCreate` in interface `IDfSessionManagerEventListener`
    Parameters:
      `session` - that has been created
    Throws:
      `DfException`

  - ### onSessionDestroy

    public void onSessionDestroy(IDfSession session) throws DfException
    This method is called when session manager is going to disconnect the given session. It called just before actual session disconnect.
    Specified by:
      `onSessionDestroy` in interface `IDfSessionManagerEventListener`
    Parameters:
      `session` - that will be disconnected
    Throws:
      `DfException`