The staticObjects method of the Session class returns an ObjectDictionary that contains all the objects that have been created with session scope.
public ObjectDictionary staticObjects();